public class TransportProtocolMonitor extends Object implements TransportProtocolMonitorMBean
| Constructor and Description |
|---|
TransportProtocolMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableMonitoring()
Disabled monitoring at the network layer.
|
void |
enableMonitoring()
Enables monitoring at the network layer, this will track each hosted service (i.e space,
processing unit) the invocation count and network traffic generated per remote method call
from each remote client invocation on this jvm.
|
String |
fetchMonitoringDetails()
Gets the network layer monitoring details,
TransportProtocolMonitorMBean.enableMonitoring() must be called in
order to be able to get monitoring details. |
List<ITransportConnection> |
getTransportConnections(long remoteObjID)
Returns the list of physical connections connected to the supplied remoteObjId.
|
public List<ITransportConnection> getTransportConnections(long remoteObjID) throws NoSuchObjectException
TransportProtocolMonitorMBeangetTransportConnections in interface TransportProtocolMonitorMBeanremoteObjID - the remote objectIDNoSuchObjectException - thrown an exception if the supplied remoteObjID is not found in
remote object registry. The reason might be a wrong objID
supplied or remote object was already unexported.com.gigaspaces.managment.transport.TransportProtocolMonitorMBean#getTransportConnections(long)public void enableMonitoring()
TransportProtocolMonitorMBeanenableMonitoring in interface TransportProtocolMonitorMBeanpublic void disableMonitoring()
TransportProtocolMonitorMBeanTransportProtocolMonitorMBean.enableMonitoring()disableMonitoring in interface TransportProtocolMonitorMBeanpublic String fetchMonitoringDetails()
TransportProtocolMonitorMBeanTransportProtocolMonitorMBean.enableMonitoring() must be called in
order to be able to get monitoring details.fetchMonitoringDetails in interface TransportProtocolMonitorMBeanCopyright © GigaSpaces.