Packages

c

play.api.cache.redis.impl

RedisMapJavaImpl

class RedisMapJavaImpl[Elem] extends AsyncRedisMap[Elem]

Linear Supertypes
AsyncRedisMap[Elem], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisMapJavaImpl
  2. AsyncRedisMap
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RedisMapJavaImpl(internal: RedisMap[Elem, Future])(implicit runtime: RedisRuntime)

Abstract Value Members

  1. abstract def remove(field: <repeated...>[String]): CompletionStage[AsyncRedisMap[Elem]]

    Removes the specified members from the sorted map stored at key.

    Removes the specified members from the sorted map stored at key. Non existing members are ignored. An error is returned when key exists and does not hold a sorted map.

    field

    fields to be removed

    returns

    the map for chaining calls

    Definition Classes
    AsyncRedisMap
    Note

    Time complexity: O(N) where N is the number of members to be removed.

Concrete 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. def add(field: String, value: Elem): CompletionStage[AsyncRedisMap[Elem]]

    Insert the value at the given key into the map

    Insert the value at the given key into the map

    field

    key

    value

    inserted value

    returns

    the map for the chaining calls

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def contains(field: String): CompletionStage[Boolean]

    Tests if the field is contained in the map.

    Tests if the field is contained in the map. Returns true if exists, otherwise returns false

    field

    tested field

    returns

    true if exists in the map, otherwise false

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
    Note

    Time complexity: O(1)

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def get(field: String): CompletionStage[Optional[Elem]]

    Returns the value at the given key into the map

    Returns the value at the given key into the map

    field

    key

    returns

    some value if exists in the map, None otherwise

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def increment(field: String, incrementBy: Long): CompletionStage[Long]

    Increment a value at the given key in the map

    Increment a value at the given key in the map

    field

    key

    incrementBy

    increment by this

    returns

    value after incrementation

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
  14. def increment(field: String): CompletionStage[Long]

    Increment a value at the given key in the map by 1

    Increment a value at the given key in the map by 1

    field

    key

    returns

    value after incrementation

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def keySet(): CompletionStage[JavaSet[String]]

    Returns all keys defined in the map

    Returns all keys defined in the map

    returns

    all used keys

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def remove(field: String*): CompletionStage[AsyncRedisMap[Elem]]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toMap(): CompletionStage[JavaMap[String, Elem]]

    Returns all elements in the map

    Returns all elements in the map

    returns

    all elements in the map

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
    Note

    Time complexity: O(N) where N is the map cardinality.

  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def values(): CompletionStage[JavaSet[Elem]]

    Returns all values stored in the map

    Returns all values stored in the map

    returns

    all stored values

    Definition Classes
    RedisMapJavaImplAsyncRedisMap
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AsyncRedisMap[Elem]

Inherited from AnyRef

Inherited from Any

Ungrouped