net.liftweb.http

SessionMaster

object SessionMaster extends LiftActor with Loggable

Manages LiftSessions because the servlet container is less than optimal at timing sessions out.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SessionMaster
  2. Loggable
  3. LiftActor
  4. ForwardableActor
  5. GenericActor
  6. TypedActor
  7. SpecializedLiftActor
  8. SimpleActor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. def !(msg: Any): Unit

    Send a message to the Actor.

    Send a message to the Actor. This call will always succeed and return almost immediately. The message will be processed asynchronously.

    Definition Classes
    SpecializedLiftActorSimpleActor
  2. def !!(msg: Any): Box[Any]

    Send a message to the Actor and wait for the actor to process the message and reply.

    Send a message to the Actor and wait for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  3. def !!(msg: Any, timeout: Long): Box[Any]

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  4. def !<(msg: Any): LAFuture[Any]

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message

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

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

    Definition Classes
    Any
  7. def !?(timeout: Long, message: Any): Box[Any]

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  8. def !?(msg: Any): Any

    Send a message to the Actor and wait for the actor to process the message and reply.

    Send a message to the Actor and wait for the actor to process the message and reply.

    Definition Classes
    LiftActorTypedActor
  9. final def ##(): Int

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

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

    Definition Classes
    Any
  12. def addSession(liftSession: LiftSession, req: Req, userAgent: Box[String], ipAddress: Box[String]): Unit

    Adds a new session to SessionMaster

  13. def around[R](f: ⇒ R): R

    You can wrap calls around the evaluation of the mailbox.

    You can wrap calls around the evaluation of the mailbox. This allows you to set up the environment.

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  14. def aroundLoans: List[CommonLoanWrapper]

    A list of LoanWrappers that will be executed around the evaluation of mailboxes

    A list of LoanWrappers that will be executed around the evaluation of mailboxes

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def breakOutAllComet(): Unit

    End comet long polling for all sessions.

    End comet long polling for all sessions. This allows a clean reload of Nginx because Nginx children stick around for long polling.

  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. def exceptionHandler: PartialFunction[Throwable, Unit]

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  21. def execTranslate(f: (Any) ⇒ Unit)(v: Any): Unit

    Attributes
    protected
    Definition Classes
    LiftActorSpecializedLiftActor
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit

    Attributes
    protected
    Definition Classes
    LiftActorForwardableActor
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. var getIpFromReq: (Req) ⇒ Box[String]

    If you have a rule other than

    Box !! req.request.remoteAddress
    
    for calculating the remote address, change this function

    If you have a rule other than

    Box !! req.request.remoteAddress
    
    for calculating the remote address, change this function

  26. def getSession(req: HTTPRequest, otherId: Box[String]): Box[LiftSession]

    Returns a LiftSession or Empty if not found

  27. def getSession(httpSession: ⇒ HTTPSession, otherId: Box[String]): Box[LiftSession]

    Returns a LiftSession or Empty if not found

  28. def getSession(id: String, otherId: Box[String]): Box[LiftSession]

  29. def getSession(req: Req, otherId: Box[String]): Box[LiftSession]

  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. def highPriorityReceive: Box[PartialFunction[Any, Unit]]

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  32. def insertMsgAtHeadOfQueue_!(msg: Any): Unit

    This method inserts the message at the head of the mailbox.

    This method inserts the message at the head of the mailbox. It's protected because this functionality may or may not want to be exposed.

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. val logger: Logger

    Attributes
    protected
    Definition Classes
    Loggable
  35. def messageHandler: PartialFunction[Any, Unit]

    Attributes
    protected
    Definition Classes
    SessionMasterSpecializedLiftActor
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  39. def reply(v: Any): Unit

    The Actor should call this method with a reply to the message

    The Actor should call this method with a reply to the message

    Attributes
    protected
    Definition Classes
    LiftActorForwardableActor
  40. def send(msg: Any): Unit

    Send a message to the Actor.

    Send a message to the Actor. This call will always succeed and return almost immediately. The message will be processed asynchronously. This is a Java-callable alias for !.

    Definition Classes
    SpecializedLiftActor
  41. def sendAndGetFuture(msg: Any): LAFuture[Any]

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message.

    Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message. This method calls !< and is here for Java compatibility.

    Definition Classes
    LiftActor
  42. def sendAndGetReply(timeout: Long, msg: Any): Any

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.

    Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply. This method is the Java callable version of !?.

    Definition Classes
    LiftActor
  43. def sendAndGetReply(msg: Any): Any

    Send a message to the Actor and wait for the actor to process the message and reply.

    Send a message to the Actor and wait for the actor to process the message and reply. This method is the Java callable version of !?.

    Definition Classes
    LiftActor
  44. var sessionCheckFuncs: List[(Map[String, SessionInfo], (SessionInfo) ⇒ Unit) ⇒ Unit]

    A list of functions that are run every 10 seconds.

    A list of functions that are run every 10 seconds. The first param is map containing the session ID and the sessions. The second param is a function to call to destroy the session.

  45. var sessionWatchers: List[LiftActor]

    Put an Actor in this list and the Actor will receive a message every 10 seconds with the current list of sessions: SessionWatcherInfo

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

    Definition Classes
    AnyRef
  47. def testTranslate(f: (Any) ⇒ Boolean)(v: Any): Boolean

    Attributes
    protected
    Definition Classes
    LiftActorSpecializedLiftActor
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Loggable

Inherited from LiftActor

Inherited from ForwardableActor[Any, Any]

Inherited from GenericActor[Any]

Inherited from TypedActor[Any, Any]

Inherited from SpecializedLiftActor[Any]

Inherited from SimpleActor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped