org.richfaces.cache

## Class EhCacheCache

- java.lang.Object
- - org.richfaces.cache.EhCacheCache

- All Implemented Interfaces:
    Cache

      public class EhCacheCache
      extends Object
      implements Cache

  Since:
    4.0
  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EhCacheCache(net.sf.ehcache.Ehcache cache, boolean preconfiguredCache)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get(Object key)`
    `void` | `put(Object key, Object value, Date expired)`
    `void` | `start()`
    `void` | `stop()`

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

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

- - ### Constructor Detail

    - #### EhCacheCache

          public EhCacheCache(net.sf.ehcache.Ehcache cache,
                              boolean preconfiguredCache)

  - ### Method Detail

    - #### start

          public void start()

      Specified by:
        `start` in interface `Cache`

    - #### stop

          public void stop()

      Specified by:
        `stop` in interface `Cache`

    - #### get

          public Object get(Object key)

      Specified by:
        `get` in interface `Cache`

    - #### put

          public void put(Object key,
                          Object value,
                          Date expired)

      Specified by:
        `put` in interface `Cache`

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