Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.1.0.CR2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.cache
Class EhCacheCache

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

All Implemented Interfaces:
  org.richfaces.cache.Cache

    public class EhCacheCache

extends java.lang.Object
implements org.richfaces.cache.Cache

Since:
  4.0
Author:
  Nick Belaevski

Constructor Summary
`EhCacheCache(net.sf.ehcache.Ehcache cache, boolean preconfiguredCache)`

Method Summary
`java.lang.Object` | `get(java.lang.Object key)`
`void` | `put(java.lang.Object key, java.lang.Object value, java.util.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 `org.richfaces.cache.Cache`

### stop

    public void stop()

  Specified by:
    `stop` in interface `org.richfaces.cache.Cache`

### get

    public java.lang.Object get(java.lang.Object key)

  Specified by:
    `get` in interface `org.richfaces.cache.Cache`

### put

    public void put(java.lang.Object key,
                    java.lang.Object value,
                    java.util.Date expired)

  Specified by:
    `put` in interface `org.richfaces.cache.Cache`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.1.0.CR2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.