Class FKCache

    • Field Detail

      • IMPLEMENTATION

        public static final java.lang.String IMPLEMENTATION
        The classname of the implementations factory class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FKCache

        public FKCache()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String implementation,
                               java.util.Properties params)
                        throws CacheAcquireException
        Normally called to initialize FKCache. To be able to test the method without having javax.util.jcache.CacheAccessFactory implementation, it can also be called with a test implementations classname.
        Parameters:
        implementation - Cache implementation classname to initialize.
        params - Parameters to initialize the cache (e.g. name, capacity).
        Throws:
        CacheAcquireException - If cache can not be initialized.
      • getType

        public java.lang.String getType()
        Indicates the type of this cache.
        Returns:
        The cache type.