com.sksamuel.scruffy.session

GuavaMemoryCacheSessionManager

class GuavaMemoryCacheSessionManager extends SessionManager

Linear Supertypes
SessionManager, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GuavaMemoryCacheSessionManager
  2. SessionManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GuavaMemoryCacheSessionManager(maxSize: Int = 50000, expiry: FiniteDuration = ...)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val cache: Cache[String, Session]

    Attributes
    protected
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def create(key: String)(implicit context: ExecutionContext): Future[Session]

    Create a new empty session.

    Create a new empty session. The key is a hint to the key of the session and implementations can ignore if needed.

    Definition Classes
    GuavaMemoryCacheSessionManagerSessionManager
  10. def create()(implicit context: ExecutionContext): Future[Session]

    Create a new empty session.

    Create a new empty session. The newly created session will be assigned an id by the underlying implementation.

    Definition Classes
    GuavaMemoryCacheSessionManagerSessionManager
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def expire(key: String)(implicit context: ExecutionContext): Future[Unit]

    Mark the given session as expired and remove it from the underlying implementation.

    Mark the given session as expired and remove it from the underlying implementation. If the session does not exist or has already expired, then this is a no-op.

    Definition Classes
    GuavaMemoryCacheSessionManagerSessionManager
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def generateKey: String

    Attributes
    protected
  16. def get(key: String)(implicit context: ExecutionContext): Future[Option[Session]]

    Returns a Session for the given key.

    Returns a Session for the given key. If no session exists, then the result is a None.

    Definition Classes
    GuavaMemoryCacheSessionManagerSessionManager
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getOrCreate(key: String)(implicit context: ExecutionContext): Future[Session]

    Returns a session for the given key or creates a new session if none is available.

    Returns a session for the given key or creates a new session if none is available. Implementations are free to ignore the given key when creating an new session and can assign a different key. This is useful for distributed implementations.

    Definition Classes
    SessionManager
  19. def hashCode(): Int

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

    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def update(session: Session)(implicit context: ExecutionContext): Future[Unit]

    Persists the given session.

    Persists the given session.

    Definition Classes
    GuavaMemoryCacheSessionManagerSessionManager
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SessionManager

Inherited from AnyRef

Inherited from Any

Ungrouped