Package org.apache.cassandra.locator
Class ReplicaLayout.ForWrite<E extends Endpoints<E>>
- java.lang.Object
-
- org.apache.cassandra.locator.ReplicaLayout<E>
-
- org.apache.cassandra.locator.ReplicaLayout.ForWrite<E>
-
- Direct Known Subclasses:
ReplicaLayout.ForTokenWrite
- Enclosing class:
- ReplicaLayout<E extends Endpoints<E>>
public static class ReplicaLayout.ForWrite<E extends Endpoints<E>> extends ReplicaLayout<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.locator.ReplicaLayout
ReplicaLayout.ForRange, ReplicaLayout.ForRangeRead, ReplicaLayout.ForToken, ReplicaLayout.ForTokenRead, ReplicaLayout.ForTokenWrite, ReplicaLayout.ForWrite<E extends Endpoints<E>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
all()
All relevant owners of the ring position(s) for this operation, as implied by the current ring layout.E
pending()
java.lang.String
toString()
-
Methods inherited from class org.apache.cassandra.locator.ReplicaLayout
forTokenReadLiveSorted, forTokenWrite, forTokenWriteLiveAndDown, natural, replicationStrategy
-
-
-
-
Method Detail
-
all
public final E all()
Description copied from class:ReplicaLayout
All relevant owners of the ring position(s) for this operation, as implied by the current ring layout. For writes, this will include pending owners, and for reads it will be equivalent to natural()- Overrides:
all
in classReplicaLayout<E extends Endpoints<E>>
-
pending
public final E pending()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classReplicaLayout<E extends Endpoints<E>>
-
-