Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISPN-8670 Refactor the configuration storage API
- add an enum-based ConfigurationStorage type for cleaner API/XML configuration - rename the EmbeddedLocalConfigurationStorage to OverlayLocalConfigurationStorage (as it can be used for servers too) - add a VolatileLocalConfigurationStorage
- Loading branch information
1 parent
6aeeed6
commit b71895c
Showing
19 changed files
with
345 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
core/src/main/java/org/infinispan/globalstate/ConfigurationStorage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
package org.infinispan.globalstate; | |||
|
|||
/** | |||
* Configuration storage | |||
* | |||
* @author Tristan Tarrant | |||
* @since 9.2 | |||
*/ | |||
|
|||
public enum ConfigurationStorage { | |||
/** | |||
* A volatile configuration storage provider which doesn't support {@link org.infinispan.commons.api.CacheContainerAdmin.AdminFlag#PERMANENT} | |||
*/ | |||
VOLATILE, | |||
/** | |||
* A configuration storage provider which stores configurations on the filesystem | |||
*/ | |||
OVERLAY, | |||
/** | |||
* A configuration storage provider which stores configurations in a managed environment (e.g. the server model) | |||
*/ | |||
MANAGED, | |||
/** | |||
* A custom configuration storage provider | |||
*/ | |||
CUSTOM; | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.