com.hazelcast.config
Class ReplicatedMapConfig

java.lang.Object
  extended by com.hazelcast.config.ReplicatedMapConfig

public class ReplicatedMapConfig
extends Object

Contains the configuration for an ReplicatedMap


Field Summary
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 Summary
ReplicatedMapConfig()
           
ReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONCURRENCY_LEVEL

public static final int DEFAULT_CONCURRENCY_LEVEL
Default value of concurrency level

See Also:
Constant Field Values

DEFAULT_REPLICATION_DELAY_MILLIS

public static final int DEFAULT_REPLICATION_DELAY_MILLIS
Default value of delay of replication in millisecond

See Also:
Constant Field Values

DEFAULT_IN_MEMORY_FORMAT

public static final InMemoryFormat DEFAULT_IN_MEMORY_FORMAT
Default value of In-memory format


DEFAULT_ASNYC_FILLUP

public static final boolean DEFAULT_ASNYC_FILLUP
Default value of asynchronous fill up

See Also:
Constant Field Values
Constructor Detail

ReplicatedMapConfig

public ReplicatedMapConfig()

ReplicatedMapConfig

public ReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig)
Method Detail

getName

public String getName()

setName

public ReplicatedMapConfig setName(String name)

getReplicationDelayMillis

public long getReplicationDelayMillis()

setReplicationDelayMillis

public ReplicatedMapConfig setReplicationDelayMillis(long replicationDelayMillis)

getConcurrencyLevel

public int getConcurrencyLevel()

setConcurrencyLevel

public ReplicatedMapConfig setConcurrencyLevel(int concurrencyLevel)

getInMemoryFormat

public InMemoryFormat getInMemoryFormat()

setInMemoryFormat

public ReplicatedMapConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)

getReplicatorExecutorService

public ScheduledExecutorService getReplicatorExecutorService()

setReplicatorExecutorService

public ReplicatedMapConfig setReplicatorExecutorService(ScheduledExecutorService replicatorExecutorService)

getListenerConfigs

public List<ListenerConfig> getListenerConfigs()

setListenerConfigs

public ReplicatedMapConfig setListenerConfigs(List<ListenerConfig> listenerConfigs)

addEntryListenerConfig

public ReplicatedMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)

isAsyncFillup

public boolean isAsyncFillup()

setAsyncFillup

public void setAsyncFillup(boolean asyncFillup)

getAsReadOnly

public ReplicatedMapConfig getAsReadOnly()

isStatisticsEnabled

public boolean isStatisticsEnabled()

setStatisticsEnabled

public ReplicatedMapConfig setStatisticsEnabled(boolean statisticsEnabled)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.