Interface TransportFuture<V>

All Superinterfaces:
java.util.concurrent.Future<V>
All Known Implementing Classes:
PlainTransportFuture

public interface TransportFuture<V>
extends java.util.concurrent.Future<V>
  • Method Summary

    Modifier and Type Method Description
    V txGet()
    Waits if necessary for the computation to complete, and then retrieves its result.
    V txGet​(long timeout, java.util.concurrent.TimeUnit unit)
    Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.

    Methods inherited from interface java.util.concurrent.Future

    cancel, get, get, isCancelled, isDone
  • Method Details

    • txGet

      V txGet()
      Waits if necessary for the computation to complete, and then retrieves its result.
    • txGet

      V txGet​(long timeout, java.util.concurrent.TimeUnit unit)
      Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.