Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.ringbuffer.impl |
Contains the
Ringbuffer implementation classes. |
Modifier and Type | Method and Description |
---|---|
RingbufferConfig |
Config.findRingbufferConfig(String 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) |
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.setName(String name)
Sets the name of the ringbuffer.
|
RingbufferConfig |
RingbufferConfig.setRingbufferStoreConfig(RingbufferStoreConfig ringbufferStoreConfig)
Set the RingbufferStore (load and store ring buffer 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() |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addRingBufferConfig(RingbufferConfig ringbufferConfig) |
Modifier and Type | Method and Description |
---|---|
Config |
Config.setRingbufferConfigs(Map<String,RingbufferConfig> ringbufferConfigs) |
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.
|
Modifier and Type | Method and Description |
---|---|
RingbufferConfig |
RingbufferContainer.getConfig() |
Modifier and Type | Method and Description |
---|---|
void |
RingbufferContainer.init(String name,
RingbufferConfig config,
SerializationService serializationService,
ClassLoader configClassLoader)
Initializes the ring buffer with references to other services, the ring buffer store and the config.
|
Constructor and Description |
---|
RingbufferContainer(String name,
RingbufferConfig config,
SerializationService serializationService,
ClassLoader configClassLoader) |
RingbufferProxy(NodeEngine nodeEngine,
RingbufferService service,
String name,
RingbufferConfig config) |
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.