org.richfaces.cache.lru

## Class LRUMapCacheFactory

- java.lang.Object
- - org.richfaces.cache.lru.LRUMapCacheFactory

- All Implemented Interfaces:
    CacheFactory

      public class LRUMapCacheFactory
      extends Object
      implements CacheFactory

  Author:
    Nick - mailto:nbelaevski@exadel.com created 01.05.2007

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LRUMapCacheFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Cache` | `createCache(javax.faces.context.FacesContext facesContext, String cacheName, Map<?,?> env)` creates a new implementation specific Cache object using the env parameters.
    `void` | `destroy()`

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

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

- - ### Constructor Detail

    - #### LRUMapCacheFactory

          public LRUMapCacheFactory()

  - ### Method Detail

    - #### createCache

          public Cache createCache(javax.faces.context.FacesContext facesContext,
                          String cacheName,
                          Map<?,?> env)

      Description copied from interface: `CacheFactory`
      creates a new implementation specific Cache object using the env parameters.
      Specified by:
        `createCache` in interface `CacheFactory`
        `env` - implementation specific environment parameters passed to the CacheFactory.
      Returns:
        an implementation specific Cache object.

    - #### destroy

          public void destroy()

      Specified by:
        `destroy` in interface `CacheFactory`

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.