Uses of Class
com.hazelcast.config.RingbufferConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of RingbufferConfig in com.hazelcast.config
Methods in com.hazelcast.config that return RingbufferConfig Modifier and Type Method Description RingbufferConfig
Config. findRingbufferConfig(String name)
Returns a read-onlyRingbuffer
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 theMergePolicyConfig
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.Methods in com.hazelcast.config that return types with arguments of type RingbufferConfig Modifier and Type Method Description Map<String,RingbufferConfig>
Config. getRingbufferConfigs()
Returns the map ofRingbuffer
configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type RingbufferConfig Modifier and Type Method Description Config
Config. addRingBufferConfig(RingbufferConfig ringbufferConfig)
Adds the ringbuffer configuration.Method parameters in com.hazelcast.config with type arguments of type RingbufferConfig Modifier and Type Method Description Config
Config. setRingbufferConfigs(Map<String,RingbufferConfig> ringbufferConfigs)
Sets the map ofRingbuffer
configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type RingbufferConfig Constructor Description RingbufferConfig(RingbufferConfig config)
Clones a RingbufferConfigRingbufferConfig(String name, RingbufferConfig config)
Creates a new RingbufferConfig by cloning an existing config and overriding the name.