net.liftweb.util

LRU

class LRU[KeyType, ValueType] extends LRUMap[KeyType, ValueType]

LRU Cache wrapping org.apache.commons.collections.map.LRUMap

Linear Supertypes
LRUMap[KeyType, ValueType], LinkedListElem[KeyType, ValueType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LRU
  2. LRUMap
  3. LinkedListElem
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LRU(size: Int)

  2. new LRU(size: Int, loadFactor: Box[Float])

    size

    the maximum number of Elements allowed in the LRU map

    loadFactor

    the Load Factor to construct our LRU with.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def -(key: KeyType): Unit

    Definition Classes
    LRUMap
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def apply(key: KeyType): ValueType

    Definition Classes
    LRUMap
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canExpire(k: KeyType, v: ValueType): Boolean

    Override this method to implement a test to see if a particular element can be expired from the cache

    Override this method to implement a test to see if a particular element can be expired from the cache

    Attributes
    protected
    Definition Classes
    LRUMap
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def contains(key: KeyType): Boolean

    Definition Classes
    LRUMap
  12. def elements: Iterator[(KeyType, ValueType)]

    Definition Classes
    LRUMap
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def expired(key: KeyType, value: ValueType): Unit

    Called when a key/value pair is removed

    Called when a key/value pair is removed

    Attributes
    protected
    Definition Classes
    LRUMap
  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def get(key: KeyType): Box[ValueType]

    Definition Classes
    LRUMap
  18. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def keys: List[KeyType]

    Definition Classes
    LRUMap
  22. def maxSize: Int

    Definition Classes
    LRUMap
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def remove(key: KeyType): Unit

    Definition Classes
    LRUMap
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def update(key: KeyType, value: ValueType): Unit

    Definition Classes
    LRUMap
  30. def updateMaxSize(newMaxSize: Int): Unit

    Definition Classes
    LRUMap
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from LRUMap[KeyType, ValueType]

Inherited from LinkedListElem[KeyType, ValueType]

Inherited from AnyRef

Inherited from Any