K - type for map keyV - type for map valuepublic abstract class DistributedNavigableMapBuilder<K extends Comparable<K>,V> extends MapBuilder<DistributedNavigableMapBuilder<K,V>,DistributedNavigableMapConfig,DistributedNavigableMap<K,V>,K,V> implements ProxyCompatibleBuilder<DistributedNavigableMapBuilder<K,V>>, NavigableMapCompatibleBuilder<DistributedNavigableMapBuilder<K,V>>
DistributedNavigableMap instances.| Constructor and Description |
|---|
DistributedNavigableMapBuilder(String name,
DistributedNavigableMapConfig config,
PrimitiveManagementService managementService) |
| Modifier and Type | Method and Description |
|---|---|
DistributedNavigableMapBuilder<K,V> |
withNullValues()
Enables null values in the map.
|
DistributedNavigableMapBuilder<K,V> |
withNullValues(boolean nullValues)
Sets whether null values are allowed.
|
DistributedNavigableMapBuilder<K,V> |
withProtocol(NavigableMapProtocol protocol)
Configures the builder with a map compatible gossip protocol.
|
DistributedNavigableMapBuilder<K,V> |
withProtocol(ProxyProtocol protocol)
Configures the builder with a state machine replication protocol.
|
addExtraType, withCompatibleSerialization, withCompatibleSerialization, withExtraTypes, withKeyType, withRegistrationRequired, withRegistrationRequired, withValueTypewithCacheEnabled, withCacheEnabled, withCacheSizebuild, buildAsync, withReadOnly, withReadOnly, withSerializerpublic DistributedNavigableMapBuilder(String name, DistributedNavigableMapConfig config, PrimitiveManagementService managementService)
public DistributedNavigableMapBuilder<K,V> withNullValues()
public DistributedNavigableMapBuilder<K,V> withNullValues(boolean nullValues)
nullValues - whether null values are allowedpublic DistributedNavigableMapBuilder<K,V> withProtocol(ProxyProtocol protocol)
ProxyCompatibleBuilderwithProtocol in interface ProxyCompatibleBuilder<DistributedNavigableMapBuilder<K extends Comparable<K>,V>>protocol - the state machine replication protocolpublic DistributedNavigableMapBuilder<K,V> withProtocol(NavigableMapProtocol protocol)
NavigableMapCompatibleBuilderwithProtocol in interface NavigableMapCompatibleBuilder<DistributedNavigableMapBuilder<K extends Comparable<K>,V>>protocol - the map protocolCopyright © 2013–2018. All rights reserved.