Class BlockingResultHandler<T>

  • All Implemented Interfaces:
    ResultHandler<T>

    public class BlockingResultHandler<T>
    extends java.lang.Object
    implements ResultHandler<T>
    • Constructor Detail

      • BlockingResultHandler

        public BlockingResultHandler​(java.lang.Class<T> resultType)
    • Method Detail

      • getResult

        public T getResult()
      • attachCallerThreadStackTrace

        public static java.lang.Throwable attachCallerThreadStackTrace​(java.lang.Throwable failure)
      • onComplete

        public void onComplete​(T result)
        Description copied from interface: ResultHandler
        Handles successful completion of the operation.
        Specified by:
        onComplete in interface ResultHandler<T>
        Parameters:
        result - the result