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
isClustered(GlobalConfiguration globalConfiguration)
static boolean
isEmbeddedMode(GlobalConfiguration globalConfiguration)
static boolean
isExceptionBasedEviction(Configuration cfg)
static boolean
isOnePhaseCommit(Configuration cfg)
static boolean
isStateTransferStore(StoreConfiguration storeConfiguration)
static boolean
isTxVersioned(Configuration cfg)
static boolean
needSegments(Configuration configuration)
static Metadata
newDefaultMetadata(Configuration configuration)
-
-
-
Method Detail
-
isExceptionBasedEviction
public static boolean isExceptionBasedEviction(Configuration cfg)
-
isOnePhaseCommit
public static boolean isOnePhaseCommit(Configuration cfg)
-
isTxVersioned
public static boolean isTxVersioned(Configuration cfg)
-
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)
-
-