public static interface ReplicaPlan.Shared<E extends Endpoints<E>,P extends ReplicaPlan<E>>
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
|
P |
getWithContacts(E endpoints)
get the shared replica plan, non-volatile (so maybe stale) but no risk of partially initialised,
but replace its 'contacts' with those provided
|
Copyright © 2009- The Apache Software Foundation