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 Details

    • 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

      @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

      public static boolean needSegments(Configuration configuration)
    • newDefaultMetadata

      public static Metadata newDefaultMetadata(Configuration configuration)