Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.io.cache
Class SimpleCache

    java.lang.Object
      com.servingxml.io.cache.SimpleCache

All Implemented Interfaces:
  Cache, CacheDictionary

    public class SimpleCache

extends java.lang.Object
implements Cache, CacheDictionary

Constructor Summary
`SimpleCache()`

Method Summary
`void` | `add(Key key, java.lang.Object data, Expirable expirable, RevalidationType revalidationType)`
`CacheEntry` | `add(java.lang.Object key, CacheEntry entry)`
`java.lang.Object` | `get(Key key)`
`CacheEntry` | `get(java.lang.Object key)`
`CacheEntry` | `remove(java.lang.Object key)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleCache

    public SimpleCache()

Method Detail

### get

    public java.lang.Object get(Key key)

  Specified by:
    `get` in interface `Cache`

### add

    public void add(Key key,
                    java.lang.Object data,
                    Expirable expirable,
                    RevalidationType revalidationType)

  Specified by:
    `add` in interface `Cache`

### remove

    public CacheEntry remove(java.lang.Object key)

  Specified by:
    `remove` in interface `CacheDictionary`

### get

    public CacheEntry get(java.lang.Object key)

  Specified by:
    `get` in interface `CacheDictionary`

### add

    public CacheEntry add(java.lang.Object key,
                          CacheEntry entry)

  Specified by:
    `add` in interface `CacheDictionary`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD