trait BaseOperations[F[+_]] extends BaseApi[F]
- Alphabetic
- By Inheritance
- BaseOperations
- BaseApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to any2stringadd[BaseOperations[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (BaseOperations[F], B)
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to ArrowAssoc[BaseOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
auth(secret: Any)(implicit format: Format): F[Resp[Boolean]]
auths with the server.
auths with the server.
- Definition Classes
- BaseOperations → BaseApi
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
dbsize: F[Resp[Option[Long]]]
returns the size of the db.
returns the size of the db.
- Definition Classes
- BaseOperations → BaseApi
-
def
del(key: Any, keys: Any*)(implicit format: Format): F[Resp[Option[Long]]]
deletes the specified keys.
deletes the specified keys.
- Definition Classes
- BaseOperations → BaseApi
-
def
echo(message: Any)(implicit format: Format): F[Resp[Option[String]]]
- Definition Classes
- BaseOperations → BaseApi
-
def
ensuring(cond: (BaseOperations[F]) ⇒ Boolean, msg: ⇒ Any): BaseOperations[F]
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to Ensuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (BaseOperations[F]) ⇒ Boolean): BaseOperations[F]
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to Ensuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): BaseOperations[F]
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to Ensuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): BaseOperations[F]
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to Ensuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists(key: Any)(implicit format: Format): F[Resp[Boolean]]
test if the specified key exists.
test if the specified key exists.
- Definition Classes
- BaseOperations → BaseApi
-
def
expire(key: Any, ttl: Int)(implicit format: Format): F[Resp[Boolean]]
sets the expire time (in sec.) for the specified key.
sets the expire time (in sec.) for the specified key.
- Definition Classes
- BaseOperations → BaseApi
-
def
expireat(key: Any, timestamp: Long)(implicit format: Format): F[Resp[Boolean]]
sets the expire time for the specified key.
sets the expire time for the specified key.
- Definition Classes
- BaseOperations → BaseApi
-
def
flushall: F[Resp[Boolean]]
removes data from all the DB's.
removes data from all the DB's.
- Definition Classes
- BaseOperations → BaseApi
-
def
flushdb: F[Resp[Boolean]]
removes all the DB data.
removes all the DB data.
- Definition Classes
- BaseOperations → BaseApi
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to StringFormat[BaseOperations[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getConfig(key: Any = "*")(implicit format: Format): F[Resp[Option[Map[String, Option[String]]]]]
CONFIG GET
CONFIG GET
- Definition Classes
- BaseOperations → BaseApi
-
def
getType(key: Any)(implicit format: Format): F[Resp[Option[String]]]
returns the type of the value stored at key in form of a string.
returns the type of the value stored at key in form of a string.
- Definition Classes
- BaseOperations → BaseApi
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
keys[A](pattern: Any = "*")(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]
returns all the keys matching the glob-style pattern.
returns all the keys matching the glob-style pattern.
- Definition Classes
- BaseOperations → BaseApi
-
def
move(key: Any, db: Int)(implicit format: Format): F[Resp[Boolean]]
Move the specified key from the currently selected DB to the specified destination DB.
Move the specified key from the currently selected DB to the specified destination DB.
- Definition Classes
- BaseOperations → BaseApi
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
persist(key: Any)(implicit format: Format): F[Resp[Boolean]]
Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).
Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).
- Definition Classes
- BaseOperations → BaseApi
-
def
pexpire(key: Any, ttlInMillis: Int)(implicit format: Format): F[Resp[Boolean]]
sets the expire time (in milli sec.) for the specified key.
sets the expire time (in milli sec.) for the specified key.
- Definition Classes
- BaseOperations → BaseApi
-
def
pexpireat(key: Any, timestampInMillis: Long)(implicit format: Format): F[Resp[Boolean]]
sets the expire timestamp in millis for the specified key.
sets the expire timestamp in millis for the specified key.
- Definition Classes
- BaseOperations → BaseApi
-
def
ping: F[Resp[Option[String]]]
ping
ping
- Definition Classes
- BaseOperations → BaseApi
-
val
pong: Option[String]
- Attributes
- protected
- Definition Classes
- BaseApi
-
def
pttl(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
returns the remaining time to live of a key that has a timeout in millis
returns the remaining time to live of a key that has a timeout in millis
- Definition Classes
- BaseOperations → BaseApi
-
def
quit: F[Resp[Boolean]]
exits the server.
exits the server.
- Definition Classes
- BaseOperations → BaseApi
-
def
randomkey[A](implicit parse: Parse[A]): F[Resp[Option[A]]]
returns a randomly selected key from the currently selected DB.
returns a randomly selected key from the currently selected DB.
- Definition Classes
- BaseOperations → BaseApi
-
def
rename(oldkey: Any, newkey: Any)(implicit format: Format): F[Resp[Boolean]]
atomically renames the key oldkey to newkey.
atomically renames the key oldkey to newkey.
- Definition Classes
- BaseOperations → BaseApi
-
def
renamenx(oldkey: Any, newkey: Any)(implicit format: Format): F[Resp[Boolean]]
rename oldkey into newkey but fails if the destination key newkey already exists.
rename oldkey into newkey but fails if the destination key newkey already exists.
- Definition Classes
- BaseOperations → BaseApi
-
def
scan[A](cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): F[Resp[Option[(Option[Int], Option[List[Option[A]]])]]]
Incrementally iterate the keys space (since 2.8)
Incrementally iterate the keys space (since 2.8)
- Definition Classes
- BaseOperations → BaseApi
-
def
select(index: Int): F[Resp[Boolean]]
selects the DB to connect, defaults to 0 (zero).
selects the DB to connect, defaults to 0 (zero).
- Definition Classes
- BaseOperations → BaseApi
-
def
setConfig(key: Any, value: Any)(implicit format: Format): F[Resp[Option[String]]]
CONFIG SET
CONFIG SET
- Definition Classes
- BaseOperations → BaseApi
-
def
sort[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]
sort keys in a set, and optionally pull values for them
sort keys in a set, and optionally pull values for them
- Definition Classes
- BaseOperations → BaseApi
-
def
sortNStore[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil, storeAt: String)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Long]]]
sort keys in a set, and stores result in the supplied key
sort keys in a set, and stores result in the supplied key
- Definition Classes
- BaseOperations → BaseApi
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
time[A](implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]
returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
- Definition Classes
- BaseOperations → BaseApi
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
ttl(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
returns the remaining time to live of a key that has a timeout
returns the remaining time to live of a key that has a timeout
- Definition Classes
- BaseOperations → BaseApi
-
def
unwatch(): F[Resp[Boolean]]
Flushes all the previously watched keys for a transaction
Flushes all the previously watched keys for a transaction
- Definition Classes
- BaseOperations → BaseApi
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
watch(key: Any, keys: Any*)(implicit format: Format): F[Resp[Boolean]]
Marks the given keys to be watched for conditional execution of a transaction.
Marks the given keys to be watched for conditional execution of a transaction.
- Definition Classes
- BaseOperations → BaseApi
-
def
→[B](y: B): (BaseOperations[F], B)
- Implicit
- This member is added by an implicit conversion from BaseOperations[F] to ArrowAssoc[BaseOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc