Package org.apache.cassandra.locator
Class SystemReplicas
- java.lang.Object
-
- org.apache.cassandra.locator.SystemReplicas
-
public class SystemReplicas extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Range<Token>
FULL_RANGE
-
Constructor Summary
Constructors Constructor Description SystemReplicas()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Replica
getSystemReplica(InetAddressAndPort endpoint)
There are a few places where a system function borrows write path functionality, but doesn't otherwise fit into normal replication strategies (ie: hints and batchlog).static EndpointsForRange
getSystemReplicas(java.util.Collection<InetAddressAndPort> endpoints)
-
-
-
Method Detail
-
getSystemReplica
public static Replica getSystemReplica(InetAddressAndPort endpoint)
There are a few places where a system function borrows write path functionality, but doesn't otherwise fit into normal replication strategies (ie: hints and batchlog). So here we provide a replica instance
-
getSystemReplicas
public static EndpointsForRange getSystemReplicas(java.util.Collection<InetAddressAndPort> endpoints)
-
-