Package org.apache.synapse.transport.certificatevalidation.cache

# Class CacheController

java.lang.Object
org.apache.synapse.transport.certificatevalidation.cache.CacheController

All Implemented Interfaces:
  `CacheControllerMBean`

public class CacheController extends Object implements CacheControllerMBean

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CacheController(ManageableCache cache, CacheManager cacheManager)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `changeCacheManagerDelayMins(int delay)`
  `int`
  `getCacheManagerDelayMins()`
  `int`
  `getCacheSize()`
  `boolean`
  `isCacheManagerRunning()`
  `boolean`
  `stopCacheManager()`
  `boolean`
  `wakeUpCacheManager()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CacheController

    public CacheController(ManageableCache cache, CacheManager cacheManager)

- ## Method Details

  - ### stopCacheManager

    public boolean stopCacheManager()
    Specified by:
      `stopCacheManager` in interface `CacheControllerMBean`

  - ### wakeUpCacheManager

    public boolean wakeUpCacheManager()
    Specified by:
      `wakeUpCacheManager` in interface `CacheControllerMBean`

  - ### changeCacheManagerDelayMins

    public boolean changeCacheManagerDelayMins(int delay)
    Specified by:
      `changeCacheManagerDelayMins` in interface `CacheControllerMBean`

  - ### isCacheManagerRunning

    public boolean isCacheManagerRunning()
    Specified by:
      `isCacheManagerRunning` in interface `CacheControllerMBean`

  - ### getCacheSize

    public int getCacheSize()
    Specified by:
      `getCacheSize` in interface `CacheControllerMBean`

  - ### getCacheManagerDelayMins

    public int getCacheManagerDelayMins()
    Specified by:
      `getCacheManagerDelayMins` in interface `CacheControllerMBean`