Package org.jclouds.elasticstack.domain
Class ServerMetrics
java.lang.Object
org.jclouds.elasticstack.domain.ServerMetrics
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map
<String, ? extends DriveMetrics> protected final long
protected final long
protected final long
protected final long
-
Constructor Summary
ConstructorsConstructorDescriptionServerMetrics
(long tx, long txPackets, long rx, long rxPackets, Map<String, ? extends DriveMetrics> driveMetrics) -
Method Summary
-
Field Details
-
txPackets
protected final long txPackets -
tx
protected final long tx -
rxPackets
protected final long rxPackets -
rx
protected final long rx -
driveMetrics
-
-
Constructor Details
-
ServerMetrics
public ServerMetrics(long tx, long txPackets, long rx, long rxPackets, Map<String, ? extends DriveMetrics> driveMetrics)
-
-
Method Details
-
getTxPackets
public long getTxPackets() -
getTx
public long getTx() -
getRxPackets
public long getRxPackets() -
getRx
public long getRx() -
getDriveMetrics
- Returns:
- metrics keyed on device id ex.
ide:0:0
-
hashCode
public int hashCode() -
equals
-
toString
-