Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
RingbufferConfig |
Config.findRingbufferConfig(String name)
Returns a read-only
Ringbuffer
configuration for the given name. |
RingbufferConfig |
RingbufferConfig.getAsReadOnly()
Deprecated.
this method will be removed in 4.0; it is meant for internal usage only
|
RingbufferConfig |
Config.getRingbufferConfig(String name)
Returns the RingbufferConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
RingbufferConfig |
RingbufferConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups.
|
RingbufferConfig |
RingbufferConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups.
|
RingbufferConfig |
RingbufferConfig.setCapacity(int capacity)
Sets the capacity of the ringbuffer.
|
RingbufferConfig |
RingbufferConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the InMemoryFormat.
|
RingbufferConfig |
RingbufferConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this ringbuffer. |
RingbufferConfig |
RingbufferConfig.setName(String name)
Sets the name of the ringbuffer.
|
RingbufferConfig |
RingbufferConfig.setQuorumName(String quorumName)
Sets the quorum name for operations.
|
RingbufferConfig |
RingbufferConfig.setRingbufferStoreConfig(RingbufferStoreConfig ringbufferStoreConfig)
Set the RingbufferStore (load and store ringbuffer items from/to a database) configuration.
|
RingbufferConfig |
RingbufferConfig.setTimeToLiveSeconds(int timeToLiveSeconds)
Sets the time to live in seconds.
|
Modifier and Type | Method and Description |
---|---|
Map<String,RingbufferConfig> |
Config.getRingbufferConfigs()
Returns the map of
Ringbuffer
configurations, mapped by config name. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addRingBufferConfig(RingbufferConfig ringbufferConfig)
Adds the ringbuffer configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setRingbufferConfigs(Map<String,RingbufferConfig> ringbufferConfigs)
Sets the map of
Ringbuffer configurations,
mapped by config name. |
Constructor and Description |
---|
RingbufferConfig(RingbufferConfig config)
Clones a RingbufferConfig
|
RingbufferConfig(String name,
RingbufferConfig config)
Creates a new RingbufferConfig by cloning an existing config and overriding the name.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.