Class Epoch
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.recovery.records.Epoch
- Direct Known Subclasses:
EpochPBImpl
The epoch information of RM for work-preserving restart.
Epoch is incremented each time RM restart. It's used for assuring
uniqueness of
ContainerId.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Epoch
public Epoch()
-
-
Method Details
-
newInstance
-
getEpoch
public abstract long getEpoch() -
setEpoch
public abstract void setEpoch(long sequenceNumber) -
getProto
public abstract org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.EpochProto getProto() -
toString
-
hashCode
public int hashCode() -
equals
-