Class Configurations
- java.lang.Object
-
- org.infinispan.configuration.cache.Configurations
-
public class Configurations extends Object
Helper configuration methods.- Since:
- 5.2
- Author:
- Galder ZamarreƱo, Pedro Ruivo
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
hasSharedCacheLoaderOrWriter(Configuration configuration)
static boolean
isClustered(GlobalConfiguration globalConfiguration)
static boolean
isEmbeddedMode(GlobalConfiguration globalConfiguration)
static boolean
isExceptionBasedEviction(Configuration cfg)
static boolean
isOnePhaseCommit(Configuration cfg)
static boolean
isOnePhaseTotalOrderCommit(Configuration cfg)
static boolean
isStateTransferStore(StoreConfiguration storeConfiguration)
static boolean
isTxVersioned(Configuration cfg)
static boolean
needSegments(Configuration configuration)
static Metadata
newDefaultMetadata(Configuration configuration)
static boolean
noDataLossOnJoiner(Configuration configuration)
-
-
-
Method Detail
-
isExceptionBasedEviction
public static boolean isExceptionBasedEviction(Configuration cfg)
-
isOnePhaseCommit
public static boolean isOnePhaseCommit(Configuration cfg)
-
isOnePhaseTotalOrderCommit
public static boolean isOnePhaseTotalOrderCommit(Configuration cfg)
-
isTxVersioned
public static boolean isTxVersioned(Configuration cfg)
-
noDataLossOnJoiner
public static boolean noDataLossOnJoiner(Configuration configuration)
-
hasSharedCacheLoaderOrWriter
public static boolean hasSharedCacheLoaderOrWriter(Configuration configuration)
-
isEmbeddedMode
public static boolean isEmbeddedMode(GlobalConfiguration globalConfiguration)
-
isClustered
public static boolean isClustered(GlobalConfiguration globalConfiguration)
-
isStateTransferStore
public static boolean isStateTransferStore(StoreConfiguration storeConfiguration)
-
needSegments
public static boolean needSegments(Configuration configuration)
-
newDefaultMetadata
public static Metadata newDefaultMetadata(Configuration configuration)
-
-