com.twitter.storehaus.redis

RedisSortedSetStore

class RedisSortedSetStore extends MergeableStore[ChannelBuffer, Seq[(ChannelBuffer, Double)]]

A Store representation of a redis sorted set where keys represent the name of the set and values represent both the member's name and score within the set

Linear Supertypes
MergeableStore[ChannelBuffer, Seq[(ChannelBuffer, Double)]], Mergeable[ChannelBuffer, Seq[(ChannelBuffer, Double)]], Store[ChannelBuffer, Seq[(ChannelBuffer, Double)]], WritableStore[ChannelBuffer, Option[Seq[(ChannelBuffer, Double)]]], ReadableStore[ChannelBuffer, Seq[(ChannelBuffer, Double)]], Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RedisSortedSetStore
  2. MergeableStore
  3. Mergeable
  4. Store
  5. WritableStore
  6. ReadableStore
  7. Closable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisSortedSetStore(client: Client)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(t: Time): Future[Unit]

    Definition Classes
    RedisSortedSetStore → Mergeable → WritableStore → ReadableStore → Closable
  9. def close(after: Duration): Future[Unit]

    Definition Classes
    Closable
  10. final def close(): Future[Unit]

    Definition Classes
    Closable
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get(k: ChannelBuffer): Future[Option[Seq[(ChannelBuffer, Double)]]]

    Returns the whole set as a tuple of seq of (member, score).

    Returns the whole set as a tuple of seq of (member, score). An empty set is represented as None.

    Definition Classes
    RedisSortedSetStore → ReadableStore
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def members(set: ChannelBuffer): MergeableStore[ChannelBuffer, Double]

    returns

    a mergeable store for a given set with this store's client

  19. def members: MergeableStore[(ChannelBuffer, ChannelBuffer), Double]

    returns

    a mergeable store backed by redis with this store's client

  20. def merge(kv: (ChannelBuffer, Seq[(ChannelBuffer, Double)])): Future[Option[Seq[(ChannelBuffer, Double)]]]

    Performs a zIncrBy operation on a set for a seq of members

    Performs a zIncrBy operation on a set for a seq of members

    Definition Classes
    RedisSortedSetStore → Mergeable
  21. def multiGet[K1 <: ChannelBuffer](ks: Set[K1]): Map[K1, Future[Option[Seq[(ChannelBuffer, Double)]]]]

    Definition Classes
    ReadableStore
  22. def multiMerge[K1 <: ChannelBuffer](kvs: Map[K1, Seq[(ChannelBuffer, Double)]]): Map[K1, Future[Option[Seq[(ChannelBuffer, Double)]]]]

    Definition Classes
    Mergeable
  23. def multiPut[K1 <: ChannelBuffer](kvs: Map[K1, Option[Seq[(ChannelBuffer, Double)]]]): Map[K1, Future[Unit]]

    Definition Classes
    WritableStore
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def put(kv: (ChannelBuffer, Option[Seq[(ChannelBuffer, Double)]])): Future[Unit]

    Replaces or deletes the whole set.

    Replaces or deletes the whole set. Setting the set effectivly results in a delete of the previous sets key and multiple calls to zAdd for each member.

    Definition Classes
    RedisSortedSetStore → WritableStore
  28. def semigroup: Semigroup[Seq[(ChannelBuffer, Double)]]

    Definition Classes
    RedisSortedSetStore → Mergeable
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MergeableStore[ChannelBuffer, Seq[(ChannelBuffer, Double)]]

Inherited from Mergeable[ChannelBuffer, Seq[(ChannelBuffer, Double)]]

Inherited from Store[ChannelBuffer, Seq[(ChannelBuffer, Double)]]

Inherited from WritableStore[ChannelBuffer, Option[Seq[(ChannelBuffer, Double)]]]

Inherited from ReadableStore[ChannelBuffer, Seq[(ChannelBuffer, Double)]]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped