Package | Description |
---|---|
org.apache.cassandra.locator |
Modifier and Type | Field and Description |
---|---|
static ReplicaPlans.Selector |
ReplicaPlans.writeAll
Select all nodes, transient or otherwise, as targets for the operation.
|
static ReplicaPlans.Selector |
ReplicaPlans.writeNormal
Select all full nodes, live or down, as write targets.
|
Modifier and Type | Method and Description |
---|---|
static ReplicaPlans.Selector |
ReplicaPlans.writeReadRepair(ReplicaPlan.ForRead<?> readPlan)
TODO: Transient Replication C-14404/C-14665
TODO: We employ this even when there is no monotonicity to guarantee,
e.g.
|
Modifier and Type | Method and Description |
---|---|
static ReplicaPlan.ForTokenWrite |
ReplicaPlans.forWrite(Keyspace keyspace,
ConsistencyLevel consistencyLevel,
EndpointsForToken natural,
EndpointsForToken pending,
java.util.function.Predicate<Replica> isAlive,
ReplicaPlans.Selector selector) |
static ReplicaPlan.ForTokenWrite |
ReplicaPlans.forWrite(Keyspace keyspace,
ConsistencyLevel consistencyLevel,
ReplicaLayout.ForTokenWrite liveAndDown,
ReplicaLayout.ForTokenWrite live,
ReplicaPlans.Selector selector) |
static ReplicaPlan.ForTokenWrite |
ReplicaPlans.forWrite(Keyspace keyspace,
ConsistencyLevel consistencyLevel,
ReplicaLayout.ForTokenWrite liveAndDown,
ReplicaPlans.Selector selector) |
static ReplicaPlan.ForTokenWrite |
ReplicaPlans.forWrite(Keyspace keyspace,
ConsistencyLevel consistencyLevel,
Token token,
ReplicaPlans.Selector selector) |
Copyright © 2009-2022 The Apache Software Foundation