Class ResourceUnavailableException

Object
Throwable
Exception
OxiaException
ResourceUnavailableException
All Implemented Interfaces:
Serializable

public class ResourceUnavailableException extends OxiaException
The operation failed while the server was unavailable, e.g. while the leader of the shard moved. The condition is temporary.

The outcome of a write that fails with it is unknown: the server may have applied it. Sending it again may apply it twice, e.g. a delete would then find no key. A read can be sent again.

See Also:
  • Constructor Details

    • ResourceUnavailableException

      public ResourceUnavailableException(String message, Throwable cause)
      Creates an instance of the exception.
      Parameters:
      message - the exception message
      cause - the cause of the exception