public class DefaultClusterOperation extends Object implements ClusterOperation
Constructor and Description |
---|
DefaultClusterOperation(ClusterNode clusterNode,
ClusterRecord record)
Create an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
ended(boolean successful)
Called when the operation has been finished.
|
ClusterRecord |
getRecord()
Return the record.
|
public DefaultClusterOperation(ClusterNode clusterNode, ClusterRecord record)
clusterNode
- cluster noderecord
- cluster recordpublic void ended(boolean successful)
ended
in interface ClusterOperation
successful
- true
if the operation ended successfully;
false
otherwisepublic ClusterRecord getRecord()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.