Class DefaultClusterOperation
- java.lang.Object
-
- org.apache.jackrabbit.core.cluster.DefaultClusterOperation
-
- All Implemented Interfaces:
ClusterOperation
public class DefaultClusterOperation extends Object implements ClusterOperation
Default cluster operation implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultClusterOperation(ClusterNode clusterNode, ClusterRecord record)Create an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidended(boolean successful)Called when the operation has been finished.ClusterRecordgetRecord()Return the record.
-
-
-
Constructor Detail
-
DefaultClusterOperation
public DefaultClusterOperation(ClusterNode clusterNode, ClusterRecord record)
Create an instance of this class.- Parameters:
clusterNode- cluster noderecord- cluster record
-
-
Method Detail
-
ended
public void ended(boolean successful)
Called when the operation has been finished. The passed flag indicates whether or not the operation was successful.- Specified by:
endedin interfaceClusterOperation- Parameters:
successful-trueif the operation ended successfully;falseotherwise
-
getRecord
public ClusterRecord getRecord()
Return the record.- Returns:
- the record
-
-