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 void
ended(boolean successful)
Called when the operation has been finished.ClusterRecord
getRecord()
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:
ended
in interfaceClusterOperation
- Parameters:
successful
-true
if the operation ended successfully;false
otherwise
-
getRecord
public ClusterRecord getRecord()
Return the record.- Returns:
- the record
-
-