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.CacheExtension
CloneNotSupportedException
public void disableDistribution()
public void dispose() throws net.sf.ehcache.CacheException
dispose
in interface net.sf.ehcache.extension.CacheExtension
net.sf.ehcache.CacheException
public void enableDistribution()
public net.sf.ehcache.Status getStatus()
getStatus
in interface net.sf.ehcache.extension.CacheExtension
public void init()
init
in interface net.sf.ehcache.extension.CacheExtension
Copyright © 2019 Communote team. All rights reserved.