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