public class JobProcessInformationImpl extends Object implements JobProcessInformation
| Constructor and Description | 
|---|
| JobProcessInformationImpl(int partitionCount,
                         JobSupervisor supervisor) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProcessedRecords(int records) | 
| void | cancelPartitionState() | 
| JobPartitionState[] | getPartitionStates()Returns an array of  JobPartitionStates holding
 information about the processing state (JobPartitionState.State)
 and the processing owner of this partition.The index of the JobPartitionStateinside of the
 array is the number of the processed partition if theKeyValueSourceisPartitionIdAwareor a randomly assigned ID for
 the different members of the cluster. | 
| int | getProcessedRecords()Returns the number of processed records. The number of processed records is not a real time value, it is updated on a regular basis (after 1000 processed elements per node). | 
| String | toString() | 
| boolean | updatePartitionState(int partitionId,
                    JobPartitionState oldPartitionState,
                    JobPartitionState newPartitionState) | 
| boolean | updatePartitionState(JobPartitionState[] oldPartitionStates,
                    JobPartitionState[] newPartitionStates) | 
public JobProcessInformationImpl(int partitionCount,
                                 JobSupervisor supervisor)
public JobPartitionState[] getPartitionStates()
JobProcessInformationJobPartitionStates holding
 information about the processing state (JobPartitionState.State)
 and the processing owner of this partition.JobPartitionState inside of the
 array is the number of the processed partition if the KeyValueSource
 is PartitionIdAware or a randomly assigned ID for
 the different members of the cluster.getPartitionStates in interface JobProcessInformationpublic int getProcessedRecords()
JobProcessInformationgetProcessedRecords in interface JobProcessInformationpublic void addProcessedRecords(int records)
public void cancelPartitionState()
public boolean updatePartitionState(int partitionId,
                                    JobPartitionState oldPartitionState,
                                    JobPartitionState newPartitionState)
public boolean updatePartitionState(JobPartitionState[] oldPartitionStates, JobPartitionState[] newPartitionStates)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.