public class DistributionSupportCacheExtension extends Object implements net.sf.ehcache.extension.CacheExtension
| Constructor and Description |
|---|
DistributionSupportCacheExtension(net.sf.ehcache.Ehcache cache,
Properties settings)
Creates a cache extension for the provided cache.
|
| Modifier and Type | Method and Description |
|---|---|
net.sf.ehcache.extension.CacheExtension |
clone(net.sf.ehcache.Ehcache cache) |
void |
disableDistribution()
Turns the distribution for the extended cache off
|
void |
dispose() |
void |
enableDistribution()
Turns the distribution for the extended cache on
|
net.sf.ehcache.Status |
getStatus() |
void |
init() |
public DistributionSupportCacheExtension(net.sf.ehcache.Ehcache cache,
Properties settings)
cache - the cache to be extendedsettings - additional settings that were contained in the configuration filepublic net.sf.ehcache.extension.CacheExtension clone(net.sf.ehcache.Ehcache cache)
throws CloneNotSupportedException
clone in interface net.sf.ehcache.extension.CacheExtensionCloneNotSupportedExceptionpublic void disableDistribution()
public void dispose()
throws net.sf.ehcache.CacheException
dispose in interface net.sf.ehcache.extension.CacheExtensionnet.sf.ehcache.CacheExceptionpublic void enableDistribution()
public net.sf.ehcache.Status getStatus()
getStatus in interface net.sf.ehcache.extension.CacheExtensionpublic void init()
init in interface net.sf.ehcache.extension.CacheExtensionCopyright © 2019 Communote team. All rights reserved.