public class CopyChunksTask extends SystemDistributedTask<SpaceResponseInfo> implements Externalizable
Constructor and Description |
---|
CopyChunksTask() |
CopyChunksTask(ClusterTopology newMap,
String spaceName,
Map<Integer,String> instanceIds,
QuiesceToken token,
ScaleType scaleType) |
Modifier and Type | Method and Description |
---|---|
SpaceRequestInfo |
getSpaceRequestInfo() |
void |
readExternal(ObjectInput in) |
SpaceResponseInfo |
reduce(List<AsyncResult<SpaceResponseInfo>> asyncResults) |
void |
writeExternal(ObjectOutput out) |
execute
public CopyChunksTask()
public CopyChunksTask(ClusterTopology newMap, String spaceName, Map<Integer,String> instanceIds, QuiesceToken token, ScaleType scaleType)
public SpaceRequestInfo getSpaceRequestInfo()
getSpaceRequestInfo
in class SystemTask<SpaceResponseInfo>
public SpaceResponseInfo reduce(List<AsyncResult<SpaceResponseInfo>> asyncResults) throws Exception
reduce
in interface AsyncResultsReducer<SpaceResponseInfo,SpaceResponseInfo>
Exception
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SystemDistributedTask<SpaceResponseInfo>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SystemDistributedTask<SpaceResponseInfo>
IOException
ClassNotFoundException
Copyright © GigaSpaces.