Package com.orchestranetworks.d3

# Interface D3Slave.State

Enclosing interface:
  D3Slave

public static interface D3Slave.State
Represents the state of the replica repository.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UserMessage`
  `getLabel()`
  Returns the state's label.
  `boolean`
  `isAvailable()`
  Checks if the replica is ready to receive D3 actions.
  `boolean`
  `isInitializing()`
  Checks if the replica has not finished initializing.
  `boolean`
  `isOutOfService()`
  Checks if the replica cannot be reached.
  `boolean`
  `isStopped()`
  Checks if the replica is stopped.
  `boolean`
  `isUnavailable()`
  Checks if the replica is unavailable.

- ## Method Details

  - ### getLabel

    UserMessage getLabel()
    Returns the state's label.

  - ### isAvailable

    boolean isAvailable()
    Checks if the replica is ready to receive D3 actions.
    Returns:
      `true` if the replica is available, otherwise returns `false`.

  - ### isInitializing

    boolean isInitializing()
    Checks if the replica has not finished initializing.
    Returns:
      `true` if the replica is initializing, otherwise returns `false`.

  - ### isUnavailable

    boolean isUnavailable()
    Checks if the replica is unavailable.
    Returns:
      `true` if the replica is unavailable, otherwise returns `false`.

  - ### isStopped

    boolean isStopped()
    Checks if the replica is stopped.
    Returns:
      `true` if the replica is stopped, otherwise returns `false`.
    Since:
      5.4.0

  - ### isOutOfService

    boolean isOutOfService()
    Checks if the replica cannot be reached.
    Returns:
      `true` if the replica is out of service (which means it cannot be reached), otherwise returns `false`.