Package be.ehealth.technicalconnector.cache

# Class CacheFactory

java.lang.Object
be.ehealth.technicalconnector.cache.CacheFactory

public final class CacheFactory extends Object
Factory to obtain cache instances

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `CacheFactory.CacheType`
  `static enum`
  `CacheFactory.ExpiryType`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CacheFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <K, V> Cache<K,V>`
  `newInstance(CacheFactory.CacheType cacheType, String cacheName, CacheInformation.ExpiryType expiryType, Duration expiryDuration)`

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

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

- ## Constructor Details

  - ### CacheFactory

    public CacheFactory()

- ## Method Details

  - ### newInstance

    public static <K, V> Cache<K,V> newInstance(CacheFactory.CacheType cacheType, String cacheName, CacheInformation.ExpiryType expiryType, Duration expiryDuration)