public class ClientAffinityStats
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone() |
static ClientAffinityStats |
diff(ClientAffinityStats newer,
ClientAffinityStats older)
Subtract one ClientAffinityStats instance from another to produce a third.
|
long |
getAffinityReads()
Get the number of reads that used affinity for this time period.
|
long |
getAffinityWrites()
Get the number of writes that used affinity for this time period.
|
long |
getRrReads()
Get the number of reads that used round-robin distribution
for this time period.
|
long |
getRrWrites()
Get the number of writes that used round-robin distribution
for this time period.
|
java.lang.String |
toString() |
public static ClientAffinityStats diff(ClientAffinityStats newer, ClientAffinityStats older)
newer
- More recent ClientAffinityStats instance.older
- Less recent ClientAffinityStats instance.protected java.lang.Object clone()
clone
in class java.lang.Object
public long getAffinityWrites()
public long getRrWrites()
public long getAffinityReads()
public long getRrReads()
public java.lang.String toString()
toString
in class java.lang.Object