net.liftweb.common

LRUMap

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

Implements an LRU Hashmap

Linear Supertypes
LinkedListElem[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LRUMap
  2. LinkedListElem
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def -(key: K): Unit

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def apply(key: K): V

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. 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
  8. def clone(): AnyRef

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

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

  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. 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
  14. def finalize(): Unit

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

  16. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  19. def keys: List[K]

  20. def maxSize: Int

  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def remove(key: K): Unit

  25. def size: Int

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

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

  29. def updateMaxSize(newMaxSize: Int): Unit

  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LinkedListElem[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped