Class ClientPeerWatchedObjectsContext

java.lang.Object
com.gigaspaces.lrmi.nio.ClientPeerWatchedObjectsContext

public class ClientPeerWatchedObjectsContext extends Object
Holds cpeer watched objects At any given moment, at most 1 object is being watched. calling watchXXXX will stop the watch for the currently watched object unless the currently watched object is NONE or the call to watchXXX resulted in no state change (that is, XXXX is the currently watched object)
Author:
Dan Kilman
  • Constructor Details

    • ClientPeerWatchedObjectsContext

      public ClientPeerWatchedObjectsContext(CPeer cpeer)
  • Method Details

    • close

      public void close()
    • watchIdle

      public void watchIdle()
    • watchRequest

      public void watchRequest(String monitoringId)
    • watchResponse

      public void watchResponse(String monitoringId)
    • watchNone

      public void watchNone()
    • requestWatchHasException

      public boolean requestWatchHasException()
    • getAndClearRequestWatchException

      public Exception getAndClearRequestWatchException()
    • responseWatchHasException

      public boolean responseWatchHasException()
    • getAndClearResponseWatchException

      public Exception getAndClearResponseWatchException()