class SessionCacheRepository extends MongoDatabaseCollection
CacheId is stored in session with sessionIdKey
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SessionCacheRepository
- MongoDatabaseCollection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SessionCacheRepository(mongoComponent: MongoComponent, collectionName: String, replaceIndexes: Boolean = true, ttl: Duration, timestampSupport: TimestampSupport, sessionIdKey: String)(implicit ec: ExecutionContext)
- Annotations
- @Inject()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cacheRepo: MongoCacheRepository[Request[Any]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
collectionName: String
- Definition Classes
- SessionCacheRepository → MongoDatabaseCollection
- def deleteFromSession[T](dataKey: DataKey[T])(implicit request: Request[Any]): Future[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFromSession[T](dataKey: DataKey[T])(implicit arg0: Reads[T], request: Request[Any]): Future[Option[T]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
indexes: Seq[IndexModel]
- Definition Classes
- SessionCacheRepository → MongoDatabaseCollection
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
putSession[T](dataKey: DataKey[T], data: T)(implicit arg0: Writes[T], request: Request[Any], ec: ExecutionContext): Future[(String, String)]
- returns
(sessionIdKey, sessionId) - since the sessionId would have been generated if not available in session, it is returned for storage in session.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()