net.liftweb.common.LRUMap

class LRUMap

class LRUMap[K, V](initMaxSize : Int, loadFactor : Box[Float], expiredFunc : (K, V) => Unit*)

 extends LinkedListElem[K, V]




Source: LRU.scala(54)

 Constructors

def this(size : Int)
def this(initMaxSize : Int, loadFactor : Box[Float], expiredFunc : (K, V) => Unit*)

 Fields

keys.. def keys List[K]
maxSize.. def maxSize Int
size.. def size Int

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
-.. def -(key : K) Unit
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
apply.. def apply(key : K) V
asInstanceOf.. final def asInstanceOf[T0] T0 Any
canExpire.. protected def canExpire(k : K, v : V)
Override this method to implement a test to see if a particular element can be expired from the cache
Boolean
clone.. protected def clone Object AnyRef
contains.. def contains(key : K) Boolean
elements.. def elements Iterator[(K, V)]
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
expired.. protected def expired(key : K, value : V)
Called when a key/value pair is removed
Unit
finalize.. protected def finalize Unit AnyRef
get.. def get(key : K) Box[V]
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
remove.. def remove(key : K) Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
update.. def update(key : K, value : V) Unit
updateMaxSize.. def updateMaxSize(newMaxSize : Int) Unit
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.