Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
EventJournalConfig |
Config.findCacheEventJournalConfig(String name)
Returns a read-only cache
EventJournal
configuration for the given name. |
EventJournalConfig |
Config.findMapEventJournalConfig(String name)
Returns a read-only map
EventJournal
configuration for the given name. |
EventJournalConfig |
Config.getCacheEventJournalConfig(String name)
Returns the cache event journal config for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
EventJournalConfig |
Config.getMapEventJournalConfig(String name)
Returns the map event journal config for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
EventJournalConfig |
EventJournalConfig.setCacheName(String cacheName)
Sets the cache name to which this config applies.
|
EventJournalConfig |
EventJournalConfig.setCapacity(int capacity)
Sets the capacity of the event journal.
|
EventJournalConfig |
EventJournalConfig.setEnabled(boolean enabled)
Enables or disables the event journal.
|
EventJournalConfig |
EventJournalConfig.setMapName(String mapName)
Sets the map name to which this config applies.
|
EventJournalConfig |
EventJournalConfig.setTimeToLiveSeconds(int timeToLiveSeconds)
Sets the time to live in seconds.
|
Modifier and Type | Method and Description |
---|---|
Map<String,EventJournalConfig> |
Config.getCacheEventJournalConfigs()
Returns the map of cache event journal configurations, mapped by config
name.
|
Map<String,EventJournalConfig> |
Config.getMapEventJournalConfigs()
Returns the map of map event journal configurations, mapped by config
name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addEventJournalConfig(EventJournalConfig eventJournalConfig)
Adds the event journal configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setCacheEventJournalConfigs(Map<String,EventJournalConfig> eventJournalConfigs)
Sets the map of cache event journal configurations, mapped by config name.
|
Config |
Config.setMapEventJournalConfigs(Map<String,EventJournalConfig> eventJournalConfigs)
Sets the map of map event journal configurations, mapped by config name.
|
Constructor and Description |
---|
EventJournalConfig(EventJournalConfig config)
Clones a
EventJournalConfig . |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.