Package com.gigaspaces.internal.os
Class OSStatistics.OSNetInterfaceStats
java.lang.Object
com.gigaspaces.internal.os.OSStatistics.OSNetInterfaceStats
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Enclosing class:
- OSStatistics
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOSNetInterfaceStats(String name, long rxBytes, long txBytes, long rxPackets, long txPackets, long rxErrors, long txErrors, long rxDropped, long txDropped) -
Method Summary
Modifier and TypeMethodDescriptiongetName()longlongDeprecated.longlonglonglongDeprecated.longlongvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
OSNetInterfaceStats
public OSNetInterfaceStats() -
OSNetInterfaceStats
public OSNetInterfaceStats(String name, long rxBytes, long txBytes, long rxPackets, long txPackets, long rxErrors, long txErrors, long rxDropped, long txDropped)
-
-
Method Details
-
getName
-
getRxBytes
public long getRxBytes() -
getTxBytes
public long getTxBytes() -
getRxPackets
public long getRxPackets() -
getTxPackets
public long getTxPackets() -
getRxErrors
public long getRxErrors() -
getTxErrors
public long getTxErrors() -
getRxDropped
Deprecated.- Since:
- 14.5.0 - will return -1 when using Oshi
-
getTxDropped
Deprecated.- Since:
- 14.5.0 - will return -1 when using Oshi
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-