Class GlobalStateConfiguration
java.lang.Object
org.infinispan.configuration.global.GlobalStateConfiguration
GlobalStateConfiguration.
- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlobalStateConfiguration
(org.infinispan.commons.configuration.attributes.AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.commons.configuration.attributes.AttributeSet
org.infinispan.commons.configuration.attributes.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
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED
-
-
Constructor Details
-
GlobalStateConfiguration
public GlobalStateConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration)
-
-
Method Details
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet 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
public org.infinispan.commons.configuration.attributes.AttributeSet attributes() -
toString
-