public class GridStreamerExecutionBatch extends Object implements Externalizable, GridOptimizedMarshallable
CLS_ID_FIELD_NAME| Constructor and Description |
|---|
GridStreamerExecutionBatch()
Empty constructor required by
|
GridStreamerExecutionBatch(GridUuid execId,
long execStartTs,
GridUuid futId,
Collection<UUID> execNodeIds,
String stageName,
Collection<Object> evts)
Execution batch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deployment(GridDeployment dep)
Sets deployment.
|
Collection<Object> |
events() |
GridUuid |
executionId() |
Collection<UUID> |
executionNodeIds() |
long |
executionStartTimeStamp() |
GridUuid |
futureId() |
Object |
ggClassId()
Implementation of this method should simply return value of
GG_CLASS_ID field. |
void |
readExternal(ObjectInput in) |
String |
stageName() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GridStreamerExecutionBatch()
public GridStreamerExecutionBatch(GridUuid execId, long execStartTs, GridUuid futId, Collection<UUID> execNodeIds, String stageName, Collection<Object> evts)
execId - Execution ID.futId - Future ID.execStartTs - Execution start timestamp.execNodeIds - Nodes participated in this execution.stageName - Stage name to execute.evts - Events to process.public void deployment(GridDeployment dep)
dep - Deployment for batch.public GridUuid executionId()
public long executionStartTimeStamp()
public GridUuid futureId()
public Collection<UUID> executionNodeIds()
public String stageName()
public Collection<Object> events()
public Object ggClassId()
GG_CLASS_ID field.ggClassId in interface GridOptimizedMarshallablepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.