Class Configurations


  • public class Configurations
    extends Object
    Helper configuration methods.
    Since:
    5.2
    Author:
    Galder ZamarreƱo, Pedro Ruivo
    • 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)
      • isStateTransferStore

        @Deprecated
        public static boolean isStateTransferStore​(StoreConfiguration storeConfiguration)
        Deprecated.
        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

        public static boolean needSegments​(Configuration configuration)