Class AsynchronousOperationReturnValue<T>

  • All Implemented Interfaces:

    public class AsynchronousOperationReturnValue<T>
    extends AsynchronousOperationResult
    This may seems too simple and maybe pointless now. But we expect that it may later evolve to something like future/promise.
    • Constructor Detail

      • AsynchronousOperationReturnValue

        public AsynchronousOperationReturnValue()
    • Method Detail

      • getReturnValue

        public T getReturnValue()
      • setReturnValue

        public void setReturnValue​(T returnValue)
      • shortDump

        public void shortDump​(StringBuilder sb)
        Description copied from interface: ShortDumpable
        Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.
        Specified by:
        shortDump in interface ShortDumpable
        shortDump in class AsynchronousOperationResult
        sb - StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.