com.bigdata.resources
Class MoveResult
java.lang.Object
com.bigdata.resources.AbstractResult
com.bigdata.resources.MoveResult
public class MoveResult
- extends AbstractResult
The object returned by MoveIndexPartitionTask.
- Version:
- $Id: MoveResult.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
targetDataServiceUUID
public final UUID targetDataServiceUUID
newPartitionId
public final int newPartitionId
targetIndexName
public final String targetIndexName
- The name of the new index partition on the target data service.
Note: AbstractResult.name is the name of the source index
partition that was moved to the target data service.
oldLocator
public final PartitionLocator oldLocator
newLocator
public final PartitionLocator newLocator
registeredInMDS
protected final AtomicBoolean registeredInMDS
false until the target index partition is registered in
the MDS. This is used to decide whether or not we need to rollback a
change in the MDS if the atomic update task fails during the commit.
MoveResult
public MoveResult(String name,
IndexMetadata indexMetadata,
UUID targetDataServiceUUID,
int newPartitionId,
PartitionLocator oldLocator,
PartitionLocator newLocator)
- Parameters:
name - The name of the source index partition.indexMetadata - The index metadata object for the source index partition.targetDataServiceUUID - The data service UUID for the target data service.newPartitionId - The partition identifier assigned to the target index
partition.oldLocator - The locator for the source index partition.newLocator - The locator for the new index partition.
toString
public String toString()
- Overrides:
toString in class AbstractResult
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.