Package com.gigaspaces.internal.lrmi
Class LRMIMethodMonitoringDetailsImpl
java.lang.Object
com.gigaspaces.internal.lrmi.LRMIMethodMonitoringDetailsImpl
- All Implemented Interfaces:
LRMIMethodMonitoringDetails,SmartExternalizable,Externalizable,Serializable
public class LRMIMethodMonitoringDetailsImpl
extends Object
implements SmartExternalizable, LRMIMethodMonitoringDetails
Tracking details of a specific method
- Since:
- 9.1
- Author:
- eitany
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTrackingDetails(long thisInvocationGeneratedTraffic, long thisInvocationReceivedTraffic) voidaddTrackingDetails(LRMIMethodMonitoringDetails methodTrackingDetails) longGets the total network traffic that was sent as a response to this method invocationlongGets the number of time this method was invokedlongGets the total network traffic that was received for this method invocationvoidtoString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
LRMIMethodMonitoringDetailsImpl
public LRMIMethodMonitoringDetailsImpl()
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
addTrackingDetails
public void addTrackingDetails(long thisInvocationGeneratedTraffic, long thisInvocationReceivedTraffic) -
getInvocationCount
public long getInvocationCount()Description copied from interface:LRMIMethodMonitoringDetailsGets the number of time this method was invoked- Specified by:
getInvocationCountin interfaceLRMIMethodMonitoringDetails
-
getGeneratedTraffic
public long getGeneratedTraffic()Description copied from interface:LRMIMethodMonitoringDetailsGets the total network traffic that was sent as a response to this method invocation- Specified by:
getGeneratedTrafficin interfaceLRMIMethodMonitoringDetails
-
getReceivedTraffic
public long getReceivedTraffic()Description copied from interface:LRMIMethodMonitoringDetailsGets the total network traffic that was received for this method invocation- Specified by:
getReceivedTrafficin interfaceLRMIMethodMonitoringDetails
-
addTrackingDetails
-
toString
-