net.liftweb.common

LRUMap

class LRUMap [K, V] extends LinkedListElem[K, V]

Implements an LRU Hashmap

Linear Supertypes
LinkedListElem[K, V], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LRUMap
  2. LinkedListElem
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LRUMap (size: Int)

  2. new LRUMap (initMaxSize: Int, loadFactor: Box[Float], expiredFunc: (K, V) ⇒ Unit*)

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def - (key: K): Unit

  5. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  7. def apply (key: K): V

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def canExpire (k: K, v: V): 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
  10. def clone (): AnyRef

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

  12. def elements : Iterator[(K, V)]

  13. def eq (arg0: AnyRef): Boolean

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

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

    Called when a key/value pair is removed

    Called when a key/value pair is removed

    Attributes
    protected
  16. def finalize (): Unit

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

  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  19. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  21. def keys : List[K]

  22. def maxSize : Int

  23. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  26. def remove (key: K): Unit

  27. def size : Int

  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def update (key: K, value: V): Unit

  31. def updateMaxSize (newMaxSize: Int): Unit

  32. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from LinkedListElem[K, V]

Inherited from AnyRef

Inherited from Any