Class GlobalStateConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<GlobalStateConfiguration>
org.infinispan.configuration.global.GlobalStateConfiguration
- All Implemented Interfaces:
Matchable<GlobalStateConfiguration>, Updatable<GlobalStateConfiguration>
GlobalStateConfiguration.
- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeDefinition<Boolean> static final AttributeDefinition<UncleanShutdownAction> Fields inherited from class ConfigurationElement
attributes, CHILDLESS, children, element, repeated -
Constructor Summary
ConstructorsConstructorDescriptionGlobalStateConfiguration(AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeSetSupplier<? extends LocalConfigurationStorage> Returns theLocalConfigurationStorageSupplierbooleanenabled()Returns the filesystem path where persistent state data which needs to survive container restarts should be stored.Returns the filesystem path where shared persistent state data which needs to survive container restarts should be stored.Returns the filesystem path where temporary state should be stored.Methods inherited from class ConfigurationElement
attributes, child, children, children, collectMutableAttributes, elementName, equals, extractAttributes, findAttribute, hashCode, isModified, list, matches, matches, matches, toString, update, update, update, validateUpdate, validateUpdate, validateUpdate, write
-
Field Details
-
ENABLED
-
UNCLEAN_SHUTDOWN_ACTION
-
-
Constructor Details
-
GlobalStateConfiguration
public GlobalStateConfiguration(AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration)
-
-
Method Details
-
attributeDefinitionSet
-
enabled
public boolean enabled() -
uncleanShutdownAction
-
persistentLocation
Returns the filesystem path where persistent state data which needs to survive container restarts should be stored. Defaults to the user.dir system property which usually is where the application was started. Warning: this path must NOT be shared with other instances. -
persistenceConfiguration
-
temporaryLocation
Returns the filesystem path where temporary state should be stored. Defaults to the value of the java.io.tmpdir system property. -
temporaryLocationConfiguration
-
configurationStorage
-
globalStorageConfiguration
-
configurationStorageClass
Returns theLocalConfigurationStorageSupplier
-