Packages

t

io.scalajs.npm.redis

RedisMulti

trait RedisMulti extends Object

MULTI commands are queued up until an EXEC is issued, and then all commands are run atomically by Redis. The interface in node_redis is to return an individual Multi object by calling client.multi(). If any command fails to queue, all commands are rolled back and none is going to be executed (For further information look at transactions).

Annotations
@RawJSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisMulti
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def dbsize(): RedisMulti.this.type
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def exec(callback: RedisCallback[Array[RedisResponse]]): Unit

    client.multi() is a constructor that returns a Multi object.

    client.multi() is a constructor that returns a Multi object. Multi objects share all of the same command methods as client objects do. Commands are queued up inside the Multi object until Multi.exec() is invoked.

    callback

    the callback

  10. def execAsync(): Promise[Array[RedisResponse]]
  11. def exec_atomic(callback: RedisCallback[Array[RedisResponse]] = js.native): Unit

    Identical to Multi.exec but with the difference that executing a single command will not use transactions.

    Identical to Multi.exec but with the difference that executing a single command will not use transactions.

    callback

    the callback

  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get(key: String): RedisMulti.this.type
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. def incr(key: String, callback: RedisCallback[RedisResponse]): Unit

    Example:
    1. incr("incr thing", redis.print);

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. def keys(key: String, callback: RedisCallback[Array[String]]): RedisMulti.this.type
  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. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  25. def scard(key: String): RedisMulti.this.type

    Example:
    1. scard("bigset")

  26. def script(args: String*): RedisMulti.this.type

    Example:
    1. script('load', 'return 1')

  27. def smembers(key: String): RedisMulti.this.type

    Example:
    1. smembers("bigset")

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toLocaleString(): String
    Definition Classes
    Object
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def valueOf(): Any
    Definition Classes
    Object
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped