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 Summary
ConstructorsConstructorDescriptionEmbeddedCacheProperties(org.infinispan.Cache<?, ?> cache) Creates an encapsulation of the properties of the specified cache.EmbeddedCacheProperties(org.infinispan.configuration.cache.Configuration configuration) Creates an encapsulation of the properties of the specified cache configuration. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanboolean
-
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:
isPersistentin interfaceorg.wildfly.clustering.cache.CacheProperties
-
isTransactional
public boolean isTransactional()- Specified by:
isTransactionalin interfaceorg.wildfly.clustering.cache.CacheProperties
-
isLockOnRead
public boolean isLockOnRead()- Specified by:
isLockOnReadin interfaceorg.wildfly.clustering.cache.CacheProperties
-
isLockOnWrite
public boolean isLockOnWrite()- Specified by:
isLockOnWritein interfaceorg.wildfly.clustering.cache.CacheProperties
-
isMarshalling
public boolean isMarshalling()- Specified by:
isMarshallingin interfaceorg.wildfly.clustering.cache.CacheProperties
-