Class OzoneManagerPrepareState.State

java.lang.Object
org.apache.hadoop.ozone.om.OzoneManagerPrepareState.State
Enclosing class:
OzoneManagerPrepareState

public static class OzoneManagerPrepareState.State extends Object
The current state of preparation is defined by the status and the prepare index that are currently set.
  • Constructor Summary

    Constructors
    Constructor
    Description
    State(long index, org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.PrepareStatusResponse.PrepareStatus status)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.PrepareStatusResponse.PrepareStatus
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • State

      public State(long index, org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.PrepareStatusResponse.PrepareStatus status)
  • Method Details

    • getIndex

      public long getIndex()
    • getStatus

      public org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.PrepareStatusResponse.PrepareStatus getStatus()