com.twitter.storehaus.redis

RedisSetMembershipStore

class RedisSetMembershipStore extends Store[(ChannelBuffer, ChannelBuffer), Unit]

A Store for sets of values backed by a Redis set. This Store wraps a RedisSetStore providing a view into set membership on a per-member basis. Set members are encoded in the Store's keys as (setkey, setmember). The Store's value type, Unit, simply denotes the presence of the member within the Store.

Source
RedisSetStore.scala
Linear Supertypes
Store[(ChannelBuffer, ChannelBuffer), Unit], ReadableStore[(ChannelBuffer, ChannelBuffer), Unit], Closeable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RedisSetMembershipStore
  2. Store
  3. ReadableStore
  4. Closeable
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisSetMembershipStore(store: RedisSetStore)

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def close(): Unit

    Calling close on this store will also close it's underlying RedisSetStore

    Calling close on this store will also close it's underlying RedisSetStore

    Definition Classes
    RedisSetMembershipStoreReadableStore → Closeable
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def get(k: (ChannelBuffer, ChannelBuffer)): Future[Option[Unit]]

    get a single key from the store.

    get a single key from the store. Prefer multiGet if you are getting more than one key at a time

    Definition Classes
    RedisSetMembershipStoreReadableStore
  13. final def getClass(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  16. def multiGet[K1 <: (ChannelBuffer, ChannelBuffer)](ks: Set[K1]): Map[K1, Future[Option[Unit]]]

    Get a set of keys from the store.

    Get a set of keys from the store. Important: all keys in the input set are in the resulting map. If the store fails to return a value for a given key, that should be represented by a Future.exception.

    Definition Classes
    ReadableStore
  17. def multiPut[K1 <: (ChannelBuffer, ChannelBuffer)](kv: Map[K1, Option[Unit]]): Map[K1, Future[Unit]]

    Replace a set of keys at one time

    Replace a set of keys at one time

    Definition Classes
    RedisSetMembershipStoreStore
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    replace a value Delete is the same as put((k,None))

    replace a value Delete is the same as put((k,None))

    Definition Classes
    RedisSetMembershipStoreStore
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Store[(ChannelBuffer, ChannelBuffer), Unit]

Inherited from ReadableStore[(ChannelBuffer, ChannelBuffer), Unit]

Inherited from Closeable

Inherited from AnyRef

Inherited from Any