com.hazelcast.mapreduce.impl.task
Class JobPartitionStateImpl

java.lang.Object
  extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hazelcast.mapreduce.JobPartitionState
JobPartitionState.State
 
Constructor Summary
JobPartitionStateImpl(Address address, JobPartitionState.State state)
           
 
Method Summary
 Address getOwner()
          Returns the owner of this partition
 JobPartitionState.State getState()
          Returns the current processing state of this partition
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobPartitionStateImpl

public JobPartitionStateImpl(Address address,
                             JobPartitionState.State state)
Method Detail

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.