com.hazelcast.config
public class ReplicatedMapConfig extends Object
ReplicatedMap
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ASNYC_FILLUP
Default value of asynchronous fill up
|
static int |
DEFAULT_CONCURRENCY_LEVEL
Default value of concurrency level
|
static InMemoryFormat |
DEFAULT_IN_MEMORY_FORMAT
Default value of In-memory format
|
static int |
DEFAULT_REPLICATION_DELAY_MILLIS
Default value of delay of replication in millisecond
|
Constructor and Description |
---|
ReplicatedMapConfig() |
ReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig) |
ReplicatedMapConfig(String name)
Creates a ReplicatedMapConfig with the given name.
|
Modifier and Type | Method and Description |
---|---|
ReplicatedMapConfig |
addEntryListenerConfig(EntryListenerConfig listenerConfig) |
ReplicatedMapConfig |
getAsReadOnly() |
int |
getConcurrencyLevel() |
InMemoryFormat |
getInMemoryFormat() |
List<ListenerConfig> |
getListenerConfigs() |
String |
getName() |
long |
getReplicationDelayMillis() |
ScheduledExecutorService |
getReplicatorExecutorService() |
boolean |
isAsyncFillup() |
boolean |
isStatisticsEnabled() |
void |
setAsyncFillup(boolean asyncFillup) |
ReplicatedMapConfig |
setConcurrencyLevel(int concurrencyLevel) |
ReplicatedMapConfig |
setInMemoryFormat(InMemoryFormat inMemoryFormat) |
ReplicatedMapConfig |
setListenerConfigs(List<ListenerConfig> listenerConfigs) |
ReplicatedMapConfig |
setName(String name) |
ReplicatedMapConfig |
setReplicationDelayMillis(long replicationDelayMillis) |
ReplicatedMapConfig |
setReplicatorExecutorService(ScheduledExecutorService replicatorExecutorService) |
ReplicatedMapConfig |
setStatisticsEnabled(boolean statisticsEnabled) |
public static final int DEFAULT_CONCURRENCY_LEVEL
public static final int DEFAULT_REPLICATION_DELAY_MILLIS
public static final InMemoryFormat DEFAULT_IN_MEMORY_FORMAT
public static final boolean DEFAULT_ASNYC_FILLUP
public ReplicatedMapConfig()
public ReplicatedMapConfig(String name)
name
- the name of the ReplicatedMap.public ReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig)
public String getName()
public ReplicatedMapConfig setName(String name)
public long getReplicationDelayMillis()
public ReplicatedMapConfig setReplicationDelayMillis(long replicationDelayMillis)
public int getConcurrencyLevel()
public ReplicatedMapConfig setConcurrencyLevel(int concurrencyLevel)
public InMemoryFormat getInMemoryFormat()
public ReplicatedMapConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
public ScheduledExecutorService getReplicatorExecutorService()
public ReplicatedMapConfig setReplicatorExecutorService(ScheduledExecutorService replicatorExecutorService)
public List<ListenerConfig> getListenerConfigs()
public ReplicatedMapConfig setListenerConfigs(List<ListenerConfig> listenerConfigs)
public ReplicatedMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
public boolean isAsyncFillup()
public void setAsyncFillup(boolean asyncFillup)
public ReplicatedMapConfig getAsReadOnly()
public boolean isStatisticsEnabled()
public ReplicatedMapConfig setStatisticsEnabled(boolean statisticsEnabled)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.