Package com.gigaspaces.lrmi.nio
Class ClientPeerWatchedObjectsContext
java.lang.Object
com.gigaspaces.lrmi.nio.ClientPeerWatchedObjectsContext
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanbooleanvoidvoidvoidwatchRequest(String monitoringId) voidwatchResponse(String monitoringId)
-
Constructor Details
-
ClientPeerWatchedObjectsContext
-
-
Method Details
-
close
public void close() -
watchIdle
public void watchIdle() -
watchRequest
-
watchResponse
-
watchNone
public void watchNone() -
requestWatchHasException
public boolean requestWatchHasException() -
getAndClearRequestWatchException
-
responseWatchHasException
public boolean responseWatchHasException() -
getAndClearResponseWatchException
-