RichFaces Core Implementation 4.1.0.Final

org.richfaces.cache.lru
Class LRUMapCache

java.lang.Object
  extended by org.richfaces.cache.lru.LRUMapCache
All Implemented Interfaces:
org.richfaces.cache.Cache

public class LRUMapCache
extends Object
implements org.richfaces.cache.Cache

Since:
3.1
Author:
Nick - mailto:nbelaevski@exadel.com

Constructor Summary
LRUMapCache()
           
LRUMapCache(int capacity)
           
 
Method Summary
 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

LRUMapCache

public LRUMapCache()

LRUMapCache

public LRUMapCache(int capacity)
Method Detail

get

public Object get(Object key)
Specified by:
get in interface org.richfaces.cache.Cache

put

public void put(Object key,
                Object value,
                Date expired)
Specified by:
put in interface org.richfaces.cache.Cache

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

RichFaces Core Implementation 4.1.0.Final

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