org.jclouds.elasticstack.domain
Class ServerMetrics
java.lang.Object
org.jclouds.elasticstack.domain.ServerMetrics
public class ServerMetrics
- extends Object
- Author:
- Adrian Cole
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,DriveMetrics> driveMetrics
ServerMetrics
public ServerMetrics(long tx,
long txPackets,
long rx,
long rxPackets,
Map<String,DriveMetrics> driveMetrics)
getTxPackets
public long getTxPackets()
getTx
public long getTx()
getRxPackets
public long getRxPackets()
getRx
public long getRx()
getDriveMetrics
public Map<String,DriveMetrics> getDriveMetrics()
- Returns:
- metrics keyed on device id ex.
ide:0:0
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.