Class FutureAsyncResult<T>

java.lang.Object
com.cloudconvert.dto.result.AbstractResult<T>
com.cloudconvert.dto.result.AsyncResult<T>
com.cloudconvert.dto.result.FutureAsyncResult<T>

public class FutureAsyncResult<T>
extends AsyncResult<T>
  • Constructor Summary

    Constructors
    Constructor Description
    FutureAsyncResult()  
  • Method Summary

    Modifier and Type Method Description
    Result<T> get()  
    Result<T> get​(long timeout, java.util.concurrent.TimeUnit timeUnit)  

    Methods inherited from class java.lang.Object

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

    • FutureAsyncResult

      public FutureAsyncResult()
  • Method Details

    • get

      public Result<T> get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException
      Specified by:
      get in class AsyncResult<T>
      Throws:
      java.lang.InterruptedException
      java.util.concurrent.ExecutionException
      java.io.IOException
    • get

      public Result<T> get​(long timeout, java.util.concurrent.TimeUnit timeUnit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException, java.io.IOException
      Specified by:
      get in class AsyncResult<T>
      Throws:
      java.lang.InterruptedException
      java.util.concurrent.ExecutionException
      java.util.concurrent.TimeoutException
      java.io.IOException