Packages

t

com.avsystem.commons.redis

RedisKeyedExecutor

trait RedisKeyedExecutor extends RedisExecutor

Marker subtype of RedisExecutor which guarantees ability to execute Redis commands which contain keys.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisKeyedExecutor
  2. RedisExecutor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def executeBatch[A](batch: RedisBatch[A], config: ExecutionConfig = ExecutionConfig.Default): commons.Future[A]

    Executes a RedisBatch.

    Executes a RedisBatch. Redis client implementations (e.g. RedisNodeClient) implement this method by actually sending the batch to Redis server and receving and decoding the response.

    WARNING: Even though the signature of this method indicates that any batch can be executed, every client type supports only a subset of commands. For example, you can't execute CLIENT SETNAME (clientSetname) on a RedisNodeClient because it's a connection state changing command and RedisNodeClient uses a pool of reusable connections. If you try to do this, you'll get a ForbiddenCommandException.

    Definition Classes
    RedisExecutor
  2. implicit abstract def executionContext: commons.ExecutionContext
    Definition Classes
    RedisExecutor