RedisStore
lightdb.redis.RedisStore
class RedisStore[Doc <: Document[Doc], Model <: DocumentModel[Doc]](name: String, path: Option[Path], model: Model, val storeMode: StoreMode[Doc, Model], hostname: String, port: Int, db: LightDB, storeManager: StoreManager) extends Store[Doc, Model]
Attributes
- Graph
-
- Supertypes
-
class Store[Doc, Model]trait Disposabletrait Initializableclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
object transaction
Attributes
- Inherited from:
- Store
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Attributes
- Definition Classes
-
Store
Inherited methods
Attributes
- Inherited from:
- Store
def apply[V](f: Model => (UniqueIndex[Doc, V], V))(implicit transaction: Transaction[Doc]): Task[Doc]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
def delete[V](f: Model => (UniqueIndex[Doc, V], V))(implicit transaction: Transaction[Doc]): Task[Boolean]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
def get[V](f: Model => (UniqueIndex[Doc, V], V))(implicit transaction: Transaction[Doc]): Task[Option[Doc]]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
def getOrCreate(id: Id[Doc], create: => Doc, establishLock: Boolean)(implicit transaction: Transaction[Doc]): Task[Doc]
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Disposable
Attributes
- Inherited from:
- Initializable
Attributes
- Inherited from:
- Store
def modify(id: Id[Doc], establishLock: Boolean, deleteOnNone: Boolean)(f: Forge[Option[Doc], Option[Doc]])(implicit transaction: Transaction[Doc]): Task[Option[Doc]]
Attributes
- Inherited from:
- Store
Optimizes this store. This allows the implementation an opportunity to clean up, optimize, etc. to improve the performance of the store.
Optimizes this store. This allows the implementation an opportunity to clean up, optimize, etc. to improve the performance of the store.
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Concrete fields
Inherited fields
Calls doDispose() exactly one time. Safe to call multiple times.
Calls doDispose() exactly one time. Safe to call multiple times.
Attributes
- Inherited from:
- Disposable
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Calls initialize() exactly one time. Safe to call multiple times.
Calls initialize() exactly one time. Safe to call multiple times.
Attributes
- Inherited from:
- Initializable
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
Attributes
- Inherited from:
- Store
In this article