Class Reference<T>

java.lang.Object
com.pervasive.datarush.util.Reference<T>
Type Parameters:
T - the type of object contained in the handle
All Implemented Interfaces:
Serializable

public final class Reference<T> extends Object implements Serializable
An indirect handle to an object. A Reference is not thread-safe; for passing data to and from LogicalOperators, consider using a LogicalPort instead.
See Also:
  • Field Details

    • value

      public T value
      The referenced object.
  • Method Details

    • newInstance

      public static <T> Reference<T> newInstance()
      Constructs a new reference object.
      Type Parameters:
      T - the type of the reference
      Returns:
      a new uninitialized reference