Uses of Class
com.hazelcast.config.RingbufferConfig
-
Uses of RingbufferConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionConfig.findRingbufferConfig
(String name) Returns a read-onlyRingbuffer
configuration for the given name.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.setAsyncBackupCount
(int asyncBackupCount) Sets the number of asynchronous backups. 0 means no backups.RingbufferConfig.setBackupCount
(int backupCount) Sets the number of synchronous backups.RingbufferConfig.setCapacity
(int capacity) Sets the capacity of the ringbuffer.RingbufferConfig.setInMemoryFormat
(InMemoryFormat inMemoryFormat) Sets the in-memory format.RingbufferConfig.setMergePolicyConfig
(MergePolicyConfig mergePolicyConfig) Sets theMergePolicyConfig
for this ringbuffer.Sets the name of the ringbuffer.RingbufferConfig.setRingbufferStoreConfig
(RingbufferStoreConfig ringbufferStoreConfig) Set the RingbufferStore (load and store ringbuffer items from/to a database) configuration.RingbufferConfig.setSplitBrainProtectionName
(String splitBrainProtectionName) Sets the split brain protection name for operations.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.RingbufferConfig.setUserCodeNamespace
(String userCodeNamespace) Associates the provided Namespace Name with this structure forClassLoader
awareness.Modifier and TypeMethodDescriptionConfig.getRingbufferConfigs()
Returns the map ofRingbuffer
configurations, mapped by config name.Modifier and TypeMethodDescriptionConfig.addRingBufferConfig
(RingbufferConfig ringbufferConfig) Adds the ringbuffer configuration.Modifier and TypeMethodDescriptionConfig.setRingbufferConfigs
(Map<String, RingbufferConfig> ringbufferConfigs) Sets the map ofRingbuffer
configurations, mapped by config name.ModifierConstructorDescriptionRingbufferConfig
(RingbufferConfig config) Clones a RingbufferConfigRingbufferConfig
(String name, RingbufferConfig config) Creates a new RingbufferConfig by cloning an existing config and overriding the name.