public class AntiEntropyProtocol extends Object implements GossipProtocol, MapProtocol, SetProtocol
| Modifier and Type | Class and Description |
|---|---|
static class |
AntiEntropyProtocol.Type
Gossip protocol type.
|
| Modifier and Type | Field and Description |
|---|---|
static AntiEntropyProtocol.Type |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
static AntiEntropyProtocolBuilder |
builder()
Returns a new gossip protocol builder.
|
static AntiEntropyProtocol |
instance()
Returns an instance of the anti-entropy protocol with the default configuration.
|
<K,V> MapDelegate<K,V> |
newMapDelegate(String name,
Serializer serializer,
PrimitiveManagementService managementService)
Returns a new map delegate.
|
<E> SetDelegate<E> |
newSetDelegate(String name,
Serializer serializer,
PrimitiveManagementService managementService)
Returns a new set delegate.
|
PrimitiveProtocol.Type |
type()
Returns the protocol type.
|
public static final AntiEntropyProtocol.Type TYPE
public static AntiEntropyProtocol instance()
public static AntiEntropyProtocolBuilder builder()
public PrimitiveProtocol.Type type()
PrimitiveProtocoltype in interface PrimitiveProtocolpublic <K,V> MapDelegate<K,V> newMapDelegate(String name, Serializer serializer, PrimitiveManagementService managementService)
MapProtocolnewMapDelegate in interface MapProtocolname - the map nameserializer - the map entry serializermanagementService - the primitive management servicepublic <E> SetDelegate<E> newSetDelegate(String name, Serializer serializer, PrimitiveManagementService managementService)
SetProtocolnewSetDelegate in interface SetProtocolE - the set element typename - the set nameserializer - the set element serializermanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.