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 |
---|---|
Address |
getOwner()
Returns the owner of this partition
|
JobPartitionState.State |
getState()
Returns the current processing state of this partition
|
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()
JobPartitionState
getOwner
in interface JobPartitionState
public JobPartitionState.State getState()
JobPartitionState
getState
in interface JobPartitionState
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.