Packages

  • package root
    Definition Classes
    root
  • package xitrum

    Things that are usually used by application developers are put in this package for convenience, because when they want to use XXX, they can simply write:

    Things that are usually used by application developers are put in this package for convenience, because when they want to use XXX, they can simply write:

    import xitrum.XXX

    To avoid polluting this namespace, things that are utilities should be put in package xitrum.util, not here.

    Annotations and validators are put to package xitrum.annation and xitrum.validator because there are many of them. It's better for application developers to write:

    import xitrum.annotation._
    import xitrum.validator._
    Definition Classes
    root
  • package local
    Definition Classes
    xitrum
  • LruCache
  • LruSessionStore
c

xitrum.local

LruSessionStore

class LruSessionStore extends ServerSessionStore

Config in xitrum.conf:

xitrum {
  session {
    store {
      "xitrum.local.LruSessionStore" {
        maxElems = 10000
      }
    }
  }
}
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LruSessionStore
  2. ServerSessionStore
  3. SessionStore
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LruSessionStore()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def get(sessionId: String): Option[Map[String, Any]]

    To be implemented by server side session store implementations

    To be implemented by server side session store implementations

    Definition Classes
    LruSessionStoreServerSessionStore
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. def put(sessionId: String, immutableMap: Map[String, Any]): Unit

    To be implemented by server side session store implementations

    To be implemented by server side session store implementations

    Definition Classes
    LruSessionStoreServerSessionStore
  17. def remove(sessionId: String): Unit

    To be implemented by server side session store implementations

    To be implemented by server side session store implementations

    Definition Classes
    LruSessionStoreServerSessionStore
  18. def restore(env: SessionEnv): Session

    Called only at the first access to the session.

    Called only at the first access to the session. If session is not used, no proccessing is performed. If called, "restore" is always called before "store".

    Definition Classes
    ServerSessionStoreSessionStore
  19. def start(): Unit
    Definition Classes
    LruSessionStoreSessionStore
  20. def stop(): Unit
    Definition Classes
    LruSessionStoreSessionStore
  21. def store(session: Session, env: SessionEnv): Unit

    Called before the response is sent to the client, but only if "restore" has been called.

    Called before the response is sent to the client, but only if "restore" has been called. If called, "store" is always called after "restore".

    If session is empty: - If browser did not send session cookie: do nothing, do not send back useless cookie - If browser did send session cookie: set max age to 0 to make browser delete session cookie immediately

    Definition Classes
    ServerSessionStoreSessionStore
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ServerSessionStore

Inherited from SessionStore

Inherited from AnyRef

Inherited from Any

Ungrouped