public class AsyncMultiMapConfig extends ResourceConfig<AsyncMultiMapConfig>
| Modifier and Type | Field and Description |
|---|---|
static String |
ASYNC_MULTIMAP_CONSISTENCY |
config| Modifier | Constructor and Description |
|---|---|
|
AsyncMultiMapConfig() |
protected |
AsyncMultiMapConfig(AsyncMultiMapConfig config) |
|
AsyncMultiMapConfig(Map<String,Object> config) |
|
AsyncMultiMapConfig(String resource) |
| Modifier and Type | Method and Description |
|---|---|
AsyncMultiMapConfig |
copy() |
Consistency |
getConsistency()
Returns the multimap read consistency.
|
CoordinatedResourceConfig |
resolve(ClusterConfig cluster) |
void |
setConsistency(Consistency consistency)
Sets the multimap read consistency.
|
void |
setConsistency(String consistency)
Sets the multimap read consistency.
|
AsyncMultiMapConfig |
withConsistency(Consistency consistency)
Sets the multimap read consistency, returning the configuration for method chaining.
|
AsyncMultiMapConfig |
withConsistency(String consistency)
Sets the multimap 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitloadpublic static final String ASYNC_MULTIMAP_CONSISTENCY
public AsyncMultiMapConfig()
public AsyncMultiMapConfig(String resource)
protected AsyncMultiMapConfig(AsyncMultiMapConfig config)
public AsyncMultiMapConfig copy()
copy in interface Copyable<Configurable>copy in class ResourceConfig<AsyncMultiMapConfig>public void setConsistency(String consistency)
consistency - The multimap read consistency.NullPointerException - If the consistency is nullpublic void setConsistency(Consistency consistency)
consistency - The multimap read consistency.NullPointerException - If the consistency is nullpublic Consistency getConsistency()
public AsyncMultiMapConfig withConsistency(String consistency)
consistency - The multimap read consistency.NullPointerException - If the consistency is nullpublic AsyncMultiMapConfig withConsistency(Consistency consistency)
consistency - The multimap read consistency.NullPointerException - If the consistency is nullpublic CoordinatedResourceConfig resolve(ClusterConfig cluster)
resolve in class ResourceConfig<AsyncMultiMapConfig>Copyright © 2013-2015. All Rights Reserved.