Interface ReadyAction

All Known Implementing Classes:
DefaultReadyAction

public interface ReadyAction
An interface that allows the PerCacheInboundInvocationHandler to check when this action is ready.
Since:
8.0
Author:
Pedro Ruivo
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    It adds a listener that is invoked when this action is ready.
    boolean
     
    void
    Cleanup when the command throws an exception while executing.
    void
    Invoked always after the command is executed and the reply is sent.
  • Method Details

    • isReady

      boolean isReady()
      Returns:
      true if ready.
    • addListener

      void addListener(ActionListener listener)
      It adds a listener that is invoked when this action is ready.
      Parameters:
      listener - the listener to invoke.
    • onException

      void onException()
      Cleanup when the command throws an exception while executing.
    • onFinally

      void onFinally()
      Invoked always after the command is executed and the reply is sent.