Modifier and Type | Field and Description |
---|---|
protected ConnectionResource |
_client |
Constructor and Description |
---|
WatchedObject(Watchdog.WatchdogGroup group,
SocketChannel socket,
ConnectionResource client) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ConnectionResource |
getClient() |
Exception |
getException() |
String |
getMonitoringId() |
SocketChannel |
getSocket() |
int |
getTime() |
long |
getVersion() |
int |
hashCode() |
void |
incrementVersion() |
boolean |
isInUse() |
void |
setException(Exception exception) |
void |
setInUse(boolean inUse) |
void |
setMonitoringId(String monitoringId) |
void |
startWatch()
Start watching
|
void |
stopWatch()
Stop watching
|
protected final ConnectionResource _client
public WatchedObject(Watchdog.WatchdogGroup group, SocketChannel socket, ConnectionResource client)
group
- socket
- public int getTime()
public SocketChannel getSocket()
public ConnectionResource getClient()
public void startWatch()
public void stopWatch()
public Exception getException()
public void setException(Exception exception)
public boolean isInUse()
public void setInUse(boolean inUse)
inUse
- public String getMonitoringId()
public void setMonitoringId(String monitoringId)
public long getVersion()
public void incrementVersion()
Copyright © GigaSpaces.