Package com.gigaspaces.lrmi
Class ConnPoolInvocationHandler
java.lang.Object
com.gigaspaces.lrmi.ConnPoolInvocationHandler
- All Implemented Interfaces:
ClientPeerInvocationHandler,ILRMIInvocationHandler
Invocation Handler for a Dynamic Proxy wrapping a Connection Pool.
- Since:
- 4.0
- Author:
- Igor Goldenberg
-
Constructor Details
-
ConnPoolInvocationHandler
-
-
Method Details
-
invoke
Remote invocation via dedicated connection provided by ConnectionPool. NOTE: toString(), hashCode(), equals() should be catch by upper layer of SmartStub.- Specified by:
invokein interfaceILRMIInvocationHandler- Returns:
- return monitoring details as Object
- Throws:
Throwable
-
getGeneratedTraffic
public long getGeneratedTraffic()- Specified by:
getGeneratedTrafficin interfaceClientPeerInvocationHandler
-
getReceivedTraffic
public long getReceivedTraffic()- Specified by:
getReceivedTrafficin interfaceClientPeerInvocationHandler
-
disable
public void disable()- Specified by:
disablein interfaceClientPeerInvocationHandler
-
enable
public void enable()- Specified by:
enablein interfaceClientPeerInvocationHandler
-
close
public void close()- Specified by:
closein interfaceClientPeerInvocationHandler
-
getMonitoringDetails
- Specified by:
getMonitoringDetailsin interfaceILRMIInvocationHandler
-