Class GlobalStateConfiguration
java.lang.Object
org.infinispan.configuration.global.GlobalStateConfiguration
GlobalStateConfiguration.
- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGlobalStateConfiguration
(AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeSet
Supplier
<? extends LocalConfigurationStorage> Returns theLocalConfigurationStorage
Supplier
boolean
enabled()
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.toString()
-
Field Details
-
ENABLED
-
-
Constructor Details
-
GlobalStateConfiguration
public GlobalStateConfiguration(AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration)
-
-
Method Details
-
attributeDefinitionSet
-
enabled
public boolean enabled() -
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 theLocalConfigurationStorage
Supplier
-
attributes
-
toString
-