Class CompletionListener.ToCallback

  • All Implemented Interfaces:
    Callback<java.lang.Void>
    Enclosing interface:
    CompletionListener

    public static class CompletionListener.ToCallback
    extends java.lang.Object
    implements Callback<java.lang.Void>
    • Nested Class Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onError​(ErrorInfo reason)
      Called when the associated operation completes with an error.
      void onSuccess​(java.lang.Void v)
      Called when the associated operation completes successfully,
      • Methods inherited from class java.lang.Object

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

      • onSuccess

        public void onSuccess​(java.lang.Void v)
        Description copied from interface: Callback
        Called when the associated operation completes successfully,
        Specified by:
        onSuccess in interface Callback<java.lang.Void>
      • onError

        public void onError​(ErrorInfo reason)
        Description copied from interface: Callback
        Called when the associated operation completes with an error.
        Specified by:
        onError in interface Callback<java.lang.Void>
        Parameters:
        reason - information about the error.