Class Watchdog.WatchedObject

java.lang.Object
com.gigaspaces.lrmi.nio.watchdog.Watchdog.WatchedObject
Enclosing class:
Watchdog

public static class Watchdog.WatchedObject extends Object
Object watched by the Watchdog - WatchedObject is used to watch NIO connections
Since:
5.1
Version:
1.0
Author:
anna
  • Field Details

  • Constructor Details

  • Method Details

    • getTime

      public int getTime()
    • getSocket

      public SocketChannel getSocket()
      Returns:
    • getClient

      public ConnectionResource getClient()
    • startWatch

      public void startWatch()
      Start watching
    • stopWatch

      public void stopWatch()
      Stop watching
    • getException

      public Exception getException()
    • setException

      public void setException(Exception exception)
    • isInUse

      public boolean isInUse()
      Returns:
    • setInUse

      public void setInUse(boolean inUse)
      Parameters:
      inUse -
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getMonitoringId

      public String getMonitoringId()
    • setMonitoringId

      public void setMonitoringId(String monitoringId)
    • getVersion

      public long getVersion()
    • incrementVersion

      public void incrementVersion()