public static class EndpointsForRange.Builder extends EndpointsForRange implements ReplicaCollection.Builder<EndpointsForRange>
EndpointsForRange.BuilderAbstractReplicaCollection.ReplicaList, AbstractReplicaCollection.ReplicaMap<K>ReplicaCollection.Builder.ConflictReplicaCollection.Builder<C extends ReplicaCollection<C>>EMPTY_LIST, list| Constructor and Description |
|---|
Builder(Range<Token> range) |
Builder(Range<Token> range,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
EndpointsForRange.Builder |
add(Replica replica,
ReplicaCollection.Builder.Conflict ignoreConflict) |
EndpointsForRange |
build() |
EndpointsForRange |
snapshot() |
builder, builder, copyOf, empty, forToken, newBuilder, of, of, rangeappend, byEndpoint, concat, contains, endpointList, endpoints, keep, select, selfIfPresent, without, withoutSelfcollector, count, equals, filter, filter, filterLazily, filterLazily, get, hashCode, isEmpty, iterator, size, sorted, stream, subList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAllpublic EndpointsForRange.Builder add(Replica replica, ReplicaCollection.Builder.Conflict ignoreConflict)
add in interface ReplicaCollection.Builder<EndpointsForRange>replica - add this replica to the end of the collectionignoreConflict - conflicts to ignore, see ReplicaCollection.Builder.Conflictpublic EndpointsForRange snapshot()
snapshot in interface ReplicaCollection.Builder<EndpointsForRange>snapshot in class EndpointsForRangepublic EndpointsForRange build()
build in interface ReplicaCollection.Builder<EndpointsForRange>Copyright © 2009-2022 The Apache Software Foundation