Class TransportProtocolMonitor
java.lang.Object
com.gigaspaces.management.transport.TransportProtocolMonitor
- All Implemented Interfaces:
TransportProtocolMonitorMBean
This class provides runtime monitoring of transport protocol infrastructure.
- Since:
- 6.0
- Author:
- Igor Goldenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDisabled monitoring at the network layer.voidEnables 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.Gets the network layer monitoring details,TransportProtocolMonitorMBean.enableMonitoring()must be called in order to be able to get monitoring details.getTransportConnections(long remoteObjID) Returns the list of physical connections connected to the supplied remoteObjId.
-
Constructor Details
-
TransportProtocolMonitor
public TransportProtocolMonitor()
-
-
Method Details
-
getTransportConnections
public List<ITransportConnection> getTransportConnections(long remoteObjID) throws NoSuchObjectException Description copied from interface:TransportProtocolMonitorMBeanReturns the list of physical connections connected to the supplied remoteObjId.- Specified by:
getTransportConnectionsin interfaceTransportProtocolMonitorMBean- Parameters:
remoteObjID- the remote objectID- Returns:
- list of physical connections connected to the remote object.
- Throws:
NoSuchObjectException- 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.- See Also:
-
com.gigaspaces.managment.transport.TransportProtocolMonitorMBean#getTransportConnections(long)
-
enableMonitoring
public void enableMonitoring()Description copied from interface:TransportProtocolMonitorMBeanEnables 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.Tracking may reduce impact performance. - Specified by:
enableMonitoringin interfaceTransportProtocolMonitorMBean
-
disableMonitoring
public void disableMonitoring()Description copied from interface:TransportProtocolMonitorMBeanDisabled monitoring at the network layer.TransportProtocolMonitorMBean.enableMonitoring()- Specified by:
disableMonitoringin interfaceTransportProtocolMonitorMBean
-
fetchMonitoringDetails
Description copied from interface:TransportProtocolMonitorMBeanGets the network layer monitoring details,TransportProtocolMonitorMBean.enableMonitoring()must be called in order to be able to get monitoring details.- Specified by:
fetchMonitoringDetailsin interfaceTransportProtocolMonitorMBean
-