Trait

com.twitter.finagle.redis

Lists

Related Doc: package redis

Permalink

trait Lists extends AnyRef

Self Type
Lists with BaseClient
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Lists
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  12. def lIndex(key: ChannelBuffer, index: Long): Future[Option[ChannelBuffer]]

    Permalink

    Gets the value of the element at the indexth position in the list.

    Gets the value of the element at the indexth position in the list. If the key is a non-list element, an exception will be thrown.

    returns

    an option of the value of the element at the indexth position in the list. Nothing if the index is out of range.

  13. def lInsertAfter(key: ChannelBuffer, pivot: ChannelBuffer, value: ChannelBuffer): Future[Option[Long]]

    Permalink

    Inserts a value after another pivot value in the list.

    Inserts a value after another pivot value in the list. If the key is a non-list element, an exception will be thrown.

    returns

    an option of the new length of the list, or nothing if the pivot is not found, or the list is empty.

  14. def lInsertBefore(key: ChannelBuffer, pivot: ChannelBuffer, value: ChannelBuffer): Future[Option[Long]]

    Permalink

    Inserts a value before another pivot value in the list.

    Inserts a value before another pivot value in the list. If the key is a non-list element, an exception will be thrown.

    returns

    an option of the new length of the list, or nothing if the pivot is not found, or the list is empty.

  15. def lLen(key: ChannelBuffer): Future[Long]

    Permalink

    Gets the length of the list.

    Gets the length of the list. If the key is a non-list element, an exception will be thrown.

    returns

    the length of the list. Unassigned keys are considered empty lists, and return 0.

  16. def lPop(key: ChannelBuffer): Future[Option[ChannelBuffer]]

    Permalink

    Pops a value off the front of the list.

    Pops a value off the front of the list. If the key is a non-list element, an exception will be thrown.

    returns

    an option of the value of the popped element, or nothing if the list is empty.

  17. def lPush(key: ChannelBuffer, value: List[ChannelBuffer]): Future[Long]

    Permalink

    Pushes a value onto the front of the list.

    Pushes a value onto the front of the list. If the key is a non-list element, an exception will be thrown.

    returns

    the length of the list

  18. def lRange(key: ChannelBuffer, start: Long, end: Long): Future[List[ChannelBuffer]]

    Permalink

    Gets the values in the range supplied.

    Gets the values in the range supplied. If the key is a non-list element, an exception will be thrown.

    start

    (inclusive)

    end

    (inclusive)

    returns

    a list of the value

  19. def lRem(key: ChannelBuffer, count: Long, value: ChannelBuffer): Future[Long]

    Permalink

    Removes count elements matching value from the list.

    Removes count elements matching value from the list. If the key is a non-list element, an exception will be thrown.

    returns

    the number of removed elements.

    Note

    The sign of count describes whether it will remove them from the back or the front of the list. If count is 0, it will remove all instances, value

  20. def lSet(key: ChannelBuffer, index: Long, value: ChannelBuffer): Future[Unit]

    Permalink

    Sets the indexth element to be value.

    Sets the indexth element to be value. If the key is a non-list element, an exception will be thrown.

  21. def lTrim(key: ChannelBuffer, start: Long, end: Long): Future[Unit]

    Permalink

    Removes all of the elements from the list except for those in the range.

    Removes all of the elements from the list except for those in the range.

    start

    (inclusive)

    end

    (exclusive)

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def rPop(key: ChannelBuffer): Future[Option[ChannelBuffer]]

    Permalink

    Pops a value off the end of the list.

    Pops a value off the end of the list. If the key is a non-list element, an exception will be thrown.

    returns

    an option of the value of the popped element, or nothing if the list is empty.

  26. def rPush(key: ChannelBuffer, value: List[ChannelBuffer]): Future[Long]

    Permalink

    Pushes a value onto the end of the list.

    Pushes a value onto the end of the list. If the key is a non-list element, an exception will be thrown.

    returns

    the length of the list

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped