public class ServerMetrics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerMetrics.Builder |
Modifier and Type | Field and Description |
---|---|
protected Map<String,DriveMetrics> |
driveMetrics |
protected long |
rx |
protected long |
rxPackets |
protected long |
tx |
protected long |
txPackets |
Constructor and Description |
---|
ServerMetrics(long tx,
long txPackets,
long rx,
long rxPackets,
Map<String,DriveMetrics> driveMetrics) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,DriveMetrics> |
getDriveMetrics() |
long |
getRx() |
long |
getRxPackets() |
long |
getTx() |
long |
getTxPackets() |
int |
hashCode() |
String |
toString() |
protected final long txPackets
protected final long tx
protected final long rxPackets
protected final long rx
protected final Map<String,DriveMetrics> driveMetrics
public ServerMetrics(long tx, long txPackets, long rx, long rxPackets, Map<String,DriveMetrics> driveMetrics)
public long getTxPackets()
public long getTx()
public long getRxPackets()
public long getRx()
public Map<String,DriveMetrics> getDriveMetrics()
ide:0:0
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.