Class GlobalStateConfiguration
- java.lang.Object
 - 
- org.infinispan.configuration.global.GlobalStateConfiguration
 
 
- 
- All Implemented Interfaces:
 BaseConfigurationInfo,ConfigurationInfo
public class GlobalStateConfiguration extends Object implements ConfigurationInfo
GlobalStateConfiguration.- Since:
 - 8.1
 - Author:
 - Tristan Tarrant
 
 
- 
- 
Constructor Summary
Constructors Constructor Description GlobalStateConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.infinispan.commons.configuration.attributes.AttributeSetattributeDefinitionSet()org.infinispan.commons.configuration.attributes.AttributeSetattributes()ConfigurationStorageconfigurationStorage()Supplier<? extends LocalConfigurationStorage>configurationStorageClass()Returns theLocalConfigurationStorageSupplierbooleanenabled()org.infinispan.commons.configuration.elements.ElementDefinitiongetElementDefinition()GlobalStorageConfigurationglobalStorageConfiguration()GlobalStatePathConfigurationpersistenceConfiguration()StringpersistentLocation()Returns the filesystem path where persistent state data which needs to survive container restarts should be stored.GlobalStatePathConfigurationsharedPersistenceConfiguration()StringsharedPersistentLocation()Returns the filesystem path where shared persistent state data which needs to survive container restarts should be stored.List<ConfigurationInfo>subElements()StringtemporaryLocation()Returns the filesystem path where temporary state should be stored.TemporaryGlobalStatePathConfigurationtemporaryLocationConfiguration()StringtoString() 
 - 
 
- 
- 
Field Detail
- 
ENABLED
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED
 
 - 
 
- 
Constructor Detail
- 
GlobalStateConfiguration
public GlobalStateConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, GlobalStatePathConfiguration persistenceLocationConfiguration, GlobalStatePathConfiguration sharedPersistenceLocationConfiguration, TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration, GlobalStorageConfiguration globalStorageConfiguration) 
 - 
 
- 
Method Detail
- 
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
 
- 
subElements
public List<ConfigurationInfo> subElements()
- Specified by:
 subElementsin interfaceConfigurationInfo- Returns:
 - the list of sub elements.
 
 
- 
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
 getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
 - the 
ElementDefinitionof the configuration. 
 
- 
enabled
public boolean enabled()
 
- 
persistentLocation
public String 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
public GlobalStatePathConfiguration persistenceConfiguration()
 
- 
sharedPersistentLocation
public String sharedPersistentLocation()
Returns the filesystem path where shared persistent state data which needs to survive container restarts should be stored. Defaults to thepersistentLocation(). This path may be shared among multiple instances. 
- 
sharedPersistenceConfiguration
public GlobalStatePathConfiguration sharedPersistenceConfiguration()
 
- 
temporaryLocation
public String temporaryLocation()
Returns the filesystem path where temporary state should be stored. Defaults to the value of the java.io.tmpdir system property. 
- 
temporaryLocationConfiguration
public TemporaryGlobalStatePathConfiguration temporaryLocationConfiguration()
 
- 
configurationStorage
public ConfigurationStorage configurationStorage()
 
- 
globalStorageConfiguration
public GlobalStorageConfiguration globalStorageConfiguration()
 
- 
configurationStorageClass
public Supplier<? extends LocalConfigurationStorage> configurationStorageClass()
Returns theLocalConfigurationStorageSupplier 
- 
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
 attributesin interfaceBaseConfigurationInfo- Returns:
 - the 
AttributeSetdeclared by the configuration. 
 
- 
toString
public String toString()
 
 - 
 
 -