Class OortMasterLong.Callback.Adapter

    • Constructor Summary

      Constructors 
      Constructor Description
      Adapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void failed​(java.lang.Object failure)
      Callback method invoked when the operation on the counter failed.
      void succeeded​(java.lang.Long result)
      Callback method invoked when the operation on the counter succeeded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Adapter

        public Adapter()
    • Method Detail

      • succeeded

        public void succeeded​(java.lang.Long result)
        Description copied from interface: OortMasterLong.Callback
        Callback method invoked when the operation on the counter succeeded.
        Specified by:
        succeeded in interface OortMasterLong.Callback
        Parameters:
        result - the result of the operation
      • failed

        public void failed​(java.lang.Object failure)
        Description copied from interface: OortMasterLong.Callback
        Callback method invoked when the operation on the counter failed.
        Specified by:
        failed in interface OortMasterLong.Callback
        Parameters:
        failure - the failure object