Class WarningsSnapshot.Counter
- java.lang.Object
-
- org.apache.cassandra.service.reads.thresholds.WarningsSnapshot.Counter
-
- Enclosing class:
- WarningsSnapshot
public static final class WarningsSnapshot.Counter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description com.google.common.collect.ImmutableSet<InetAddressAndPort>instanceslongmaxValue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WarningsSnapshot.Countercreate(java.util.Set<InetAddressAndPort> instances, java.util.concurrent.atomic.AtomicLong maxValue)booleanequals(java.lang.Object o)inthashCode()WarningsSnapshot.Countermerge(WarningsSnapshot.Counter other)java.lang.StringtoString()
-
-
-
Field Detail
-
instances
public final com.google.common.collect.ImmutableSet<InetAddressAndPort> instances
-
maxValue
public final long maxValue
-
-
Method Detail
-
create
public static WarningsSnapshot.Counter create(java.util.Set<InetAddressAndPort> instances, java.util.concurrent.atomic.AtomicLong maxValue)
-
merge
public WarningsSnapshot.Counter merge(WarningsSnapshot.Counter other)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-