public class EventuallyConsistentMapBuilderImpl<K,V> extends Object implements org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V>
| Constructor and Description |
|---|
EventuallyConsistentMapBuilderImpl(org.onosproject.cluster.ClusterService clusterService,
org.onosproject.store.cluster.messaging.ClusterCommunicationService clusterCommunicator)
Creates a new eventually consistent map builder.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.store.service.EventuallyConsistentMap<K,V> |
build() |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withAntiEntropyPeriod(long period,
TimeUnit unit) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withBackgroundExecutor(ScheduledExecutorService executor) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withClockService(org.onosproject.store.service.ClockService<K,V> clockService) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withCommunicationExecutor(ExecutorService executor) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withEventExecutor(ExecutorService executor) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withFasterConvergence() |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withName(String name) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withPeerUpdateFunction(java.util.function.BiFunction<K,V,Collection<org.onosproject.cluster.NodeId>> peerUpdateFunction) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withPersistence() |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withSerializer(org.onlab.util.KryoNamespace.Builder serializerBuilder) |
org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> |
withTombstonesDisabled() |
public EventuallyConsistentMapBuilderImpl(org.onosproject.cluster.ClusterService clusterService,
org.onosproject.store.cluster.messaging.ClusterCommunicationService clusterCommunicator)
clusterService - cluster serviceclusterCommunicator - cluster communication servicepublic org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withName(String name)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withSerializer(org.onlab.util.KryoNamespace.Builder serializerBuilder)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withClockService(org.onosproject.store.service.ClockService<K,V> clockService)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withEventExecutor(ExecutorService executor)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withCommunicationExecutor(ExecutorService executor)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withBackgroundExecutor(ScheduledExecutorService executor)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withPeerUpdateFunction(java.util.function.BiFunction<K,V,Collection<org.onosproject.cluster.NodeId>> peerUpdateFunction)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withTombstonesDisabled()
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withAntiEntropyPeriod(long period, TimeUnit unit)
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withFasterConvergence()
public org.onosproject.store.service.EventuallyConsistentMapBuilder<K,V> withPersistence()
Copyright © 2015. All rights reserved.