public abstract class ConnectionResource extends Resource implements ClientPeer
ConnectionFactory
,
ConnectionPool
Constructor and Description |
---|
ConnectionResource() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Disconnects the resource if it does not belong to the pool.
|
abstract void |
close() |
abstract void |
disable() |
abstract long |
getGeneratedTraffic() |
abstract LRMIMonitoringModule |
getMonitoringModule() |
abstract long |
getReceivedTraffic() |
protected abstract boolean |
isClosed() |
acquire, isAcquired, isFromPool, release, setAcquired, setFromPool
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, getConnectionURL, getConnectRetries, getObjectId, init, invoke, sendKeepAlive, setConnectRetries, setObjectId
disconnect, getProtocolAdapter, isConnected
public void clear()
clear
in interface IResource
clear
in class Resource
IResource.release()
public abstract long getGeneratedTraffic()
public abstract long getReceivedTraffic()
public abstract void disable()
protected abstract boolean isClosed()
public abstract void close()
public abstract LRMIMonitoringModule getMonitoringModule()
Copyright © GigaSpaces.