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 booleanisClustered(GlobalConfiguration globalConfiguration) static booleanisEmbeddedMode(GlobalConfiguration globalConfiguration) static booleanstatic booleanstatic booleanisStateTransferStore(StoreConfiguration storeConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.since 14.0.static booleanstatic booleanneedSegments(Configuration configuration) static MetadatanewDefaultMetadata(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
-