Class CopyChunksTask
java.lang.Object
com.gigaspaces.internal.client.spaceproxy.executors.SystemTask<T>
com.gigaspaces.internal.client.spaceproxy.executors.SystemDistributedTask<SpaceResponseInfo>
com.gigaspaces.internal.server.space.repartitioning.CopyChunksTask
- All Implemented Interfaces:
AsyncResultsReducer<SpaceResponseInfo,,SpaceResponseInfo> DistributedSpaceTask<SpaceResponseInfo,,SpaceResponseInfo> SpaceTask<SpaceResponseInfo>,SmartExternalizable,Externalizable,Serializable
public class CopyChunksTask
extends SystemDistributedTask<SpaceResponseInfo>
implements SmartExternalizable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCopyChunksTask(ClusterTopology newMap, String spaceName, Map<Integer, String> instanceIds, QuiesceToken token, ScaleType scaleType, int generation) -
Method Summary
Modifier and TypeMethodDescriptionvoidreduce(List<AsyncResult<SpaceResponseInfo>> asyncResults) voidMethods inherited from class com.gigaspaces.internal.client.spaceproxy.executors.SystemTask
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
CopyChunksTask
public CopyChunksTask() -
CopyChunksTask
public CopyChunksTask(ClusterTopology newMap, String spaceName, Map<Integer, String> instanceIds, QuiesceToken token, ScaleType scaleType, int generation)
-
-
Method Details
-
getSpaceRequestInfo
- Specified by:
getSpaceRequestInfoin classSystemTask<SpaceResponseInfo>
-
reduce
- Specified by:
reducein interfaceAsyncResultsReducer<SpaceResponseInfo,SpaceResponseInfo> - Throws:
Exception
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classSystemDistributedTask<SpaceResponseInfo>- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSystemDistributedTask<SpaceResponseInfo>- Throws:
IOExceptionClassNotFoundException
-