com.twitter.finagle.redis

Lists

trait Lists extends AnyRef

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

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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    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.

    key
    index
    returns

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

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

    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.

    key
    pivot
    value
    returns

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

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

    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.

    key
    pivot
    value
    returns

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

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

    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.

    key
    returns

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

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

    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.

    key
    returns

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

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

    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.

    key
    value
    returns

    the length of the list

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

    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.

    key
    start

    (inclusive)

    end

    (inclusive)

    returns

    a list of the value

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

    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.

    key
    count
    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

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

    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.

    key
    index
    value

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

    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.

    key
    start

    (inclusive)

    end

    (exclusive)

  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 rPop(key: ChannelBuffer): Future[Option[ChannelBuffer]]

    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.

    key
    returns

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

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

    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.

    key
    value
    returns

    the length of the list

  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 AnyRef

Inherited from Any

Ungrouped