Class ConnectionResource

java.lang.Object
com.j_spaces.kernel.pool.Resource
com.gigaspaces.lrmi.ConnectionResource
All Implemented Interfaces:
ClientPeer, Peer, IResource
Direct Known Subclasses:
BaseClientPeer

public abstract class ConnectionResource extends Resource implements ClientPeer
An encapsulation of a ClientPeer resource
Since:
6.0.2
Author:
moran
See Also:
  • Constructor Details

    • ConnectionResource

      public ConnectionResource()
  • Method Details

    • clear

      public void clear()
      Disconnects the resource if it does not belong to the pool.
      Specified by:
      clear in interface IResource
      Specified by:
      clear in class Resource
      See Also:
    • getGeneratedTraffic

      public abstract long getGeneratedTraffic()
    • getReceivedTraffic

      public abstract long getReceivedTraffic()
    • disable

      public abstract void disable()
    • isClosed

      protected abstract boolean isClosed()
    • close

      public abstract void close()
    • getMonitoringModule

      public abstract LRMIMonitoringModule getMonitoringModule()