Enum Class AeronArchive.State

java.lang.Object
java.lang.Enum<AeronArchive.State>
io.aeron.archive.client.AeronArchive.State
All Implemented Interfaces:
Serializable, Comparable<AeronArchive.State>, Constable
Enclosing class:
AeronArchive

public static enum AeronArchive.State extends Enum<AeronArchive.State>
Describes state of the client instance.
  • Enum Constant Details

    • CONNECTED

      public static final AeronArchive.State CONNECTED
      Client connected to the archive.
    • DISCONNECTED

      public static final AeronArchive.State DISCONNECTED
      Connection to the archive was lost. It is only possible to close this client instance. A new client instance must be created in order to establish connection with archive again.
    • CLOSED

      public static final AeronArchive.State CLOSED
      Client was closed and can no longer be used. A new client instance must be created in order to establish connection with archive again.
  • Method Details

    • values

      public static AeronArchive.State[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AeronArchive.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null