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()
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
- 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
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.