final class ServerCommands[K, V] extends AnyRef
Exposes the set of redis **server** commands available.
- Source
- ServerCommands.scala
- Note
Does yet not support
clientCaching
,clientGetredir
,commandCount,
clientKill,
bgRewriteAOF.
- See also
- Alphabetic
- By Inheritance
- ServerCommands
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def clientList: Task[Option[String]]
Get the list of client connections.
Get the list of client connections.
- returns
A unique string, formatted as follows: One client connection per line (separated by LF), each line is composed of a succession of property=value fields separated by a space character.
- See also
- def clientName: Task[Option[K]]
Get the current connection name.
Get the current connection name.
- returns
The connection name, if set.
- def clientNameSet(name: K): Task[Unit]
Set the current connection name.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commandCount: Task[Long]
Get total number of Redis commands.
Get total number of Redis commands.
- returns
Number of total commands in this Redis server, 0 if the underlying response was empty.
- def configGet(parameter: String): Task[Option[String]]
Get the value of a configuration parameter.
- def configSet(parameter: String, value: String): Task[Unit]
Set a configuration parameter to the given value.
Set a configuration parameter to the given value. All the supported parameters have the same meaning. of the equivalent configuration parameter used in the https://raw.githubusercontent.com/redis/redis/6.0/redis.conf
- See also
- def dbSize: Task[Long]
Get the number of keys in the selected database.
Get the number of keys in the selected database.
- See also
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flushAll: Task[Unit]
Remove all keys from all databases.
- def flushDb: Task[Unit]
Remove all keys from the current database.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(section: String): Task[String]
Get the section information and statistics about the server as a collection of text lines.
Get the section information and statistics about the server as a collection of text lines.
- See also
INFO.
- def info: Task[String]
Get information and statistics about the server as a collection of text lines.
Get information and statistics about the server as a collection of text lines.
- See also
INFO.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastSave: Task[Option[Date]]
Get the Date of the last successful save to disk if any.
Get the Date of the last successful save to disk if any.
- See also
- def memoryUsage(key: K): Task[Long]
Number of bytes that a key and its value require to be stored in RAM.
Number of bytes that a key and its value require to be stored in RAM.
- See also
- 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 save: Task[Unit]
Synchronously save the dataset to disk
Synchronously save the dataset to disk
- See also
SAVE.
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()