Package org.jclouds.elasticstack.domain
Class ServerMetrics
- java.lang.Object
-
- org.jclouds.elasticstack.domain.ServerMetrics
-
public class ServerMetrics extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerMetrics.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,? extends DriveMetrics>
driveMetrics
protected long
rx
protected long
rxPackets
protected long
tx
protected long
txPackets
-
Constructor Summary
Constructors Constructor Description ServerMetrics(long tx, long txPackets, long rx, long rxPackets, Map<String,? extends DriveMetrics> driveMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Map<String,? extends DriveMetrics>
getDriveMetrics()
long
getRx()
long
getRxPackets()
long
getTx()
long
getTxPackets()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
txPackets
protected final long txPackets
-
tx
protected final long tx
-
rxPackets
protected final long rxPackets
-
rx
protected final long rx
-
driveMetrics
protected final Map<String,? extends DriveMetrics> driveMetrics
-
-
Constructor Detail
-
ServerMetrics
public ServerMetrics(long tx, long txPackets, long rx, long rxPackets, Map<String,? extends DriveMetrics> driveMetrics)
-
-
Method Detail
-
getTxPackets
public long getTxPackets()
-
getTx
public long getTx()
-
getRxPackets
public long getRxPackets()
-
getRx
public long getRx()
-
getDriveMetrics
public Map<String,? extends DriveMetrics> getDriveMetrics()
- Returns:
- metrics keyed on device id ex.
ide:0:0
-
-