Interface OortMasterLong.Callback

All Known Implementing Classes:
OortMasterLong.Callback.Adapter
Enclosing class:
OortMasterLong

public static interface OortMasterLong.Callback
Callback invoked when the result of the operation on the counter is available, or when the operation failed.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  OortMasterLong.Callback.Adapter
    Empty implementation of OortMasterLong.Callback
  • Method Summary

    Modifier and Type Method Description
    void failed​(Object failure)
    Callback method invoked when the operation on the counter failed.
    void succeeded​(Long result)
    Callback method invoked when the operation on the counter succeeded.
  • Method Details

    • succeeded

      void succeeded​(Long result)
      Callback method invoked when the operation on the counter succeeded.
      Parameters:
      result - the result of the operation
    • failed

      void failed​(Object failure)
      Callback method invoked when the operation on the counter failed.
      Parameters:
      failure - the failure object