/** * {@inheritDoc} */ public void setMaxBytesLocalHeap(long maxBytes) { sampledCacheManagerDelegate.setMaxBytesLocalHeap(maxBytes); sendNotification(CACHE_MANAGER_CHANGED, getCacheManagerAttributes(), getName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMaxEntriesLocalHeap(long) */ public void setMaxEntriesLocalHeap(long maxEntries) { sampledCacheDelegate.setMaxEntriesLocalHeap(maxEntries); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMaxBytesLocalDisk(long) */ public void setMaxBytesLocalDisk(long maxBytes) { sampledCacheDelegate.setMaxBytesLocalDisk(maxBytes); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} */ public void setMaxBytesLocalDiskAsString(String maxBytes) { sampledCacheManagerDelegate.setMaxBytesLocalDiskAsString(maxBytes); sendNotification(CACHE_MANAGER_CHANGED, getCacheManagerAttributes(), getName()); }
/** * {@inheritDoc} */ public void setMaxBytesLocalHeapAsString(String maxBytes) { sampledCacheManagerDelegate.setMaxBytesLocalHeapAsString(maxBytes); sendNotification(CACHE_MANAGER_CHANGED, getCacheManagerAttributes(), getName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMaxBytesLocalHeapAsString(String) */ public void setMaxBytesLocalHeapAsString(String maxBytes) { sampledCacheDelegate.setMaxBytesLocalHeapAsString(maxBytes); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setTimeToIdleSeconds(long) */ public void setTimeToIdleSeconds(long tti) { sampledCacheDelegate.setTimeToIdleSeconds(tti); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setOverflowToDisk(boolean) */ public void setOverflowToDisk(boolean overflowToDisk) { sampledCacheDelegate.setOverflowToDisk(overflowToDisk); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} */ public void removeAll() { sampledCacheDelegate.removeAll(); sendNotification(CACHE_CLEARED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMaxEntriesLocalDisk(long) */ public void setMaxEntriesLocalDisk(long maxEntries) { sampledCacheDelegate.setMaxEntriesLocalDisk(maxEntries); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMemoryStoreEvictionPolicy(String) */ public void setMemoryStoreEvictionPolicy(String evictionPolicy) { sampledCacheDelegate.setMemoryStoreEvictionPolicy(evictionPolicy); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setEternal(boolean) */ public void setEternal(boolean eternal) { sampledCacheDelegate.setEternal(eternal); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} */ public void flush() { sampledCacheDelegate.flush(); sendNotification(CACHE_FLUSHED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMaxElementsOnDisk(int) */ public void setMaxElementsOnDisk(int maxElements) { sampledCacheDelegate.setMaxElementsOnDisk(maxElements); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setMaxBytesLocalHeap(long) */ public void setMaxBytesLocalHeap(long maxBytes) { sampledCacheDelegate.setMaxBytesLocalHeap(maxBytes); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setTimeToLiveSeconds(long) */ public void setTimeToLiveSeconds(long ttl) { sampledCacheDelegate.setTimeToLiveSeconds(ttl); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} * * @see net.sf.ehcache.management.sampled.SampledCacheMBean#setDiskPersistent(boolean) */ public void setDiskPersistent(boolean diskPersistent) { sampledCacheDelegate.setDiskPersistent(diskPersistent); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * {@inheritDoc} */ public void setMaxEntriesInCache(long maxEntries) { sampledCacheDelegate.setMaxEntriesInCache(maxEntries); sendNotification(CACHE_CHANGED, getCacheAttributes(), getImmutableCacheName()); }
/** * Enables/disables each of the contained caches. */ public void setEnabled(boolean enabled) { sampledCacheManagerDelegate.setEnabled(enabled); sendNotification(CACHES_ENABLED, enabled); }
/** * {@inheritDoc} */ public void clearAll() { sampledCacheManagerDelegate.clearAll(); sendNotification(CACHES_CLEARED); }