public class JobPartitionStateImpl extends Object implements JobPartitionState, DataSerializable
JobPartitionState.State| Constructor and Description | 
|---|
JobPartitionStateImpl(Address address,
                     JobPartitionState.State state)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
Address | 
getOwner()
Returns the owner of this partition 
 | 
JobPartitionState.State | 
getState()
Returns the current processing state of this partition 
 | 
int | 
hashCode()  | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public JobPartitionStateImpl(Address address, JobPartitionState.State state)
public Address getOwner()
JobPartitionStategetOwner in interface JobPartitionStatepublic JobPartitionState.State getState()
JobPartitionStategetState in interface JobPartitionStatepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.