public class AsyncMapConfig extends net.kuujo.copycat.resource.ResourceConfig<AsyncMapConfig>
| Modifier | Constructor and Description |
|---|---|
|
AsyncMapConfig() |
protected |
AsyncMapConfig(AsyncMapConfig config) |
|
AsyncMapConfig(Map<String,Object> config) |
|
AsyncMapConfig(String resource) |
| Modifier and Type | Method and Description |
|---|---|
AsyncMapConfig |
copy() |
net.kuujo.copycat.protocol.Consistency |
getConsistency()
Returns the map read consistency.
|
net.kuujo.copycat.cluster.internal.coordinator.CoordinatedResourceConfig |
resolve(net.kuujo.copycat.cluster.ClusterConfig cluster) |
void |
setConsistency(net.kuujo.copycat.protocol.Consistency consistency)
Sets the map read consistency.
|
void |
setConsistency(String consistency)
Sets the map read consistency.
|
AsyncMapConfig |
withConsistency(net.kuujo.copycat.protocol.Consistency consistency)
Sets the map read consistency, returning the configuration for method chaining.
|
AsyncMapConfig |
withConsistency(String consistency)
Sets the map read consistency, returning the configuration for method chaining.
|
addReplica, clearReplicas, getDefaultSerializer, getElectionTimeout, getExecutor, getHeartbeatInterval, getLog, getReplicas, getSerializer, removeReplica, setDefaultSerializer, setElectionTimeout, setElectionTimeout, setExecutor, setHeartbeatInterval, setHeartbeatInterval, setLog, setReplicas, setReplicas, setSerializer, setSerializer, setSerializer, withDefaultSerializer, withElectionTimeout, withElectionTimeout, withExecutor, withHeartbeatInterval, withHeartbeatInterval, withLog, withReplicas, withReplicas, withSerializer, withSerializer, withSerializeraddResources, configure, equals, hashCode, toMap, toStringpublic AsyncMapConfig()
public AsyncMapConfig(String resource)
protected AsyncMapConfig(AsyncMapConfig config)
public AsyncMapConfig copy()
copy in interface net.kuujo.copycat.util.Copyable<net.kuujo.copycat.util.Configurable>copy in class net.kuujo.copycat.resource.ResourceConfig<AsyncMapConfig>public void setConsistency(String consistency)
consistency - The map read consistency.NullPointerException - If the consistency is nullpublic void setConsistency(net.kuujo.copycat.protocol.Consistency consistency)
consistency - The map read consistency.NullPointerException - If the consistency is nullpublic net.kuujo.copycat.protocol.Consistency getConsistency()
public AsyncMapConfig withConsistency(String consistency)
consistency - The map read consistency.NullPointerException - If the consistency is nullpublic AsyncMapConfig withConsistency(net.kuujo.copycat.protocol.Consistency consistency)
consistency - The map read consistency.NullPointerException - If the consistency is nullpublic net.kuujo.copycat.cluster.internal.coordinator.CoordinatedResourceConfig resolve(net.kuujo.copycat.cluster.ClusterConfig cluster)
resolve in class net.kuujo.copycat.resource.ResourceConfig<AsyncMapConfig>Copyright © 2013-2015. All Rights Reserved.