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 |
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 in-memory format.
|
RingbufferConfig |
RingbufferConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this ringbuffer. |
RingbufferConfig |
RingbufferConfig.setName(String name)
Sets the name of the ringbuffer.
|
RingbufferConfig |
RingbufferConfig.setRingbufferStoreConfig(RingbufferStoreConfig ringbufferStoreConfig)
Set the RingbufferStore (load and store ringbuffer items from/to a database)
configuration.
|
RingbufferConfig |
RingbufferConfig.setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.
|
RingbufferConfig |
RingbufferConfig.setTimeToLiveSeconds(int timeToLiveSeconds)
Sets the time to live in seconds which is the maximum number of seconds
for each item to stay in the ringbuffer before being removed.
|
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 © 2020 Hazelcast, Inc.. All rights reserved.