public final class MirroringStatistics
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
long |
bytes()
Returns the transmitted bytes.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static MirroringStatistics |
mirroringStatistics(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Integer> statistics)
Creates a MirroringStatistics using the supplied information.
|
MirroringName |
name()
Returns the mirroring name string.
|
long |
packets()
Returns the transmitted packtes.
|
java.lang.String |
toString() |
public static MirroringStatistics mirroringStatistics(java.lang.String name, java.util.Map<java.lang.String,java.lang.Integer> statistics)
name
- the name of the mirroringstatistics
- the associated statisticspublic MirroringName name()
public long bytes()
public long packets()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object