com.hazelcast.mapreduce.impl.task
Class JobPartitionStateImpl
java.lang.Object
com.hazelcast.mapreduce.impl.task.JobPartitionStateImpl
- All Implemented Interfaces:
- JobPartitionState
public class JobPartitionStateImpl
- extends Object
- implements JobPartitionState
This class holds information about the current processing state and the owner of a partition
JobPartitionStateImpl
public JobPartitionStateImpl(Address address,
JobPartitionState.State state)
getOwner
public Address getOwner()
- Description copied from interface:
JobPartitionState
- Returns the owner of this partition
- Specified by:
getOwner
in interface JobPartitionState
- Returns:
- owner of the partition
getState
public JobPartitionState.State getState()
- Description copied from interface:
JobPartitionState
- Returns the current processing state of this partition
- Specified by:
getState
in interface JobPartitionState
- Returns:
- processing state of the partition
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.