org.apache.jackrabbit.core.cluster
Class DefaultClusterOperation

java.lang.Object
  extended by org.apache.jackrabbit.core.cluster.DefaultClusterOperation
All Implemented Interfaces:
ClusterOperation

public class DefaultClusterOperation
extends Object
implements ClusterOperation

Default cluster operation implementation.


Constructor Summary
DefaultClusterOperation(ClusterNode clusterNode, ClusterRecord record)
          Create an instance of this class.
 
Method Summary
 void ended(boolean successful)
          Called when the operation has been finished.
 ClusterRecord getRecord()
          Return the record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClusterOperation

public DefaultClusterOperation(ClusterNode clusterNode,
                               ClusterRecord record)
Create an instance of this class.

Parameters:
clusterNode - cluster node
record - 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 interface ClusterOperation
Parameters:
successful - true if the operation ended successfully; false otherwise

getRecord

public ClusterRecord getRecord()
Return the record.

Returns:
the record


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.