public static interface ReplicaPlan.Shared<E extends Endpoints<E>,P extends ReplicaPlan<E,P>>
extends java.util.function.Supplier<P>
Modifier and Type | Method and Description |
---|---|
void |
addToContacts(Replica replica)
add the provided replica to this shared plan, by updating the internal reference
|
P |
get()
get the shared replica plan, non-volatile (so maybe stale) but no risk of partially initialised
|
void addToContacts(Replica replica)
P get()
get
in interface java.util.function.Supplier<P extends ReplicaPlan<E,P>>
Copyright © 2009-2022 The Apache Software Foundation