Click or drag to resize

IFutureT Interface

TBD: Replace with .NET Task Model

Namespace:  com.espertech.esper.compat.concurrency
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public interface IFuture<T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:com.espertech.esper.compat.concurrency.IFuture`1"]

The IFutureT type exposes the following members.

Properties
  NameDescription
Public propertyHasValue
Gets a value indicating whether this instance has value.
Top
Methods
  NameDescription
Public methodCancel
Attempts to cancel the future execution.
Public methodGet
Gets the value. If a value is not available this method throw a InvalidOperationException.
Public methodGetValue(TimeSpan)
Gets the value. If a value is not available before the timeout expires, a TimeoutException will be thrown.
Public methodGetValue(Int32, TimeUnit)
Public methodGetValueOrDefault
Gets the result value from the execution.
Public methodWait
Waits for execution of the future to complete up to the allotted amount of time.
Top
See Also