Package com.rpl.rama

Interface ProxyState<T>

Type Parameters:
T - Expected type of object at location of proxy call
All Superinterfaces:
AutoCloseable, Closeable

public interface ProxyState<T> extends Closeable
Reactive result of one of PState proxy methods. Changes are pushed from server as soon as they are visible. Fine-grained diffs of changes can be received by providing a ProxyState.Callback when invoking a proxy method.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface for specifying callbacks for fine-grained diffs as data changes
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Get current value of this object.
    Returns current status of this ProxyState.

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • get

      T get()
      Get current value of this object. Thread-safe.
      Returns:
      Value of object
    • status

      Returns current status of this ProxyState.
      Returns:
      Status enum