Class Configurations
java.lang.Object
org.infinispan.configuration.cache.Configurations
Helper configuration methods.
- Since:
- 5.2
- Author:
- Galder ZamarreƱo, Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isClustered
(GlobalConfiguration globalConfiguration) static boolean
isEmbeddedMode
(GlobalConfiguration globalConfiguration) static boolean
static boolean
static boolean
isStateTransferStore
(StoreConfiguration storeConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.since 14.0.static boolean
static boolean
needSegments
(Configuration configuration) static Metadata
newDefaultMetadata
(Configuration configuration)
-
Method Details
-
isExceptionBasedEviction
-
isOnePhaseCommit
-
isTxVersioned
-
isEmbeddedMode
-
isClustered
-
isStateTransferStore
@Deprecated(forRemoval=true) public static boolean isStateTransferStore(StoreConfiguration storeConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.since 14.0. Returns true if the store is not shared.Returns if the store configuration is a store that is used for state transfer. This is no longer used and will return true if the store config is not shared.- Parameters:
storeConfiguration
- Store configuration to check- Returns:
- if the store config can be used for state transfer
-
needSegments
-
newDefaultMetadata
-