Class EmbeddedCacheProperties

java.lang.Object
org.wildfly.clustering.cache.infinispan.embedded.EmbeddedCacheProperties
All Implemented Interfaces:
org.wildfly.clustering.cache.CacheProperties

public class EmbeddedCacheProperties extends Object implements org.wildfly.clustering.cache.CacheProperties
Eagerly calculates the properties of a cache configuration.
Author:
Paul Ferraro
  • Constructor Details

    • EmbeddedCacheProperties

      public EmbeddedCacheProperties(org.infinispan.Cache<?,?> cache)
      Creates an encapsulation of the properties of the specified cache.
      Parameters:
      cache - an embedded cache
    • EmbeddedCacheProperties

      public EmbeddedCacheProperties(org.infinispan.configuration.cache.Configuration configuration)
      Creates an encapsulation of the properties of the specified cache configuration.
      Parameters:
      configuration - an embedded cache configuration
  • Method Details

    • isPersistent

      public boolean isPersistent()
      Specified by:
      isPersistent in interface org.wildfly.clustering.cache.CacheProperties
    • isTransactional

      public boolean isTransactional()
      Specified by:
      isTransactional in interface org.wildfly.clustering.cache.CacheProperties
    • isLockOnRead

      public boolean isLockOnRead()
      Specified by:
      isLockOnRead in interface org.wildfly.clustering.cache.CacheProperties
    • isLockOnWrite

      public boolean isLockOnWrite()
      Specified by:
      isLockOnWrite in interface org.wildfly.clustering.cache.CacheProperties
    • isMarshalling

      public boolean isMarshalling()
      Specified by:
      isMarshalling in interface org.wildfly.clustering.cache.CacheProperties