Packages

c

com.twitter.finagle.memcached

JavaClientBase

class JavaClientBase extends JavaClient

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaClientBase
  2. JavaClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaClientBase(underlying: Client)

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(key: String, flags: Int, expiry: Time, value: Buf): Future[Boolean]

    Store a key but only if it doesn't already exist on the server.

    Store a key but only if it doesn't already exist on the server.

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  5. def add(key: String, value: Buf): Future[Boolean]

    Store a key but only if it doesn't already exist on the server.

    Store a key but only if it doesn't already exist on the server.

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  6. def add(key: String, value: String): Future[Boolean]
    Definition Classes
    JavaClient
  7. def append(key: String, value: Buf): Future[Boolean]

    Append bytes to the end of an existing key.

    Append bytes to the end of an existing key. If the key doesn't exist, the operation has no effect.

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  8. def append(key: String, value: String): Future[Boolean]
    Definition Classes
    JavaClient
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def cas(key: String, flags: Int, expiry: Time, value: Buf, casUnique: Buf): Future[Boolean]

    Perform a compare-and-set operation.

    Perform a compare-and-set operation. This is like a replace, except a token identifying the value version to replace is provided. Tokens are retrieved with "gets"

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  11. def cas(key: String, value: Buf, casUnique: Buf): Future[Boolean]

    A version of cas with default flags & expiry paramters.

    A version of cas with default flags & expiry paramters.

    Definition Classes
    JavaClientBaseJavaClient
  12. def cas(key: String, value: String, casUnique: Buf): Future[Boolean]

    Convenience version of cas used to store string values.

    Convenience version of cas used to store string values.

    Definition Classes
    JavaClient
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def decr(key: String, delta: Long): Future[Long]
    Definition Classes
    JavaClientBaseJavaClient
  15. def decr(key: String): Future[Long]

    Decrement a key.

    Decrement a key. Interpret the value as an Long if it is parsable. This operation has no effect if there is no value there already.

    Definition Classes
    JavaClientBaseJavaClient
  16. def delete(key: String): Future[Boolean]

    Remove a key.

    Remove a key.

    returns

    true if deleted, false if not found

    Definition Classes
    JavaClientBaseJavaClient
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def get(keys: List[String]): Future[Map[String, Buf]]

    Get a set of keys from the server.

    Get a set of keys from the server.

    returns

    a Map[String, Buf] of all of the keys that the server had.

    Definition Classes
    JavaClientBaseJavaClient
  21. def get(key: String): Future[Buf]

    Get a key from the server.

    Get a key from the server.

    Definition Classes
    JavaClientBaseJavaClient
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getResult(keys: List[String]): Future[GetResult]
  24. def gets(keys: List[String]): Future[Map[String, ResultWithCAS]]

    Get a set of keys from the server together with a "cas unique" token.

    Get a set of keys from the server together with a "cas unique" token.

    returns

    a Map[String, ResultWithCAS] of all of the keys that the server had.

    Definition Classes
    JavaClientBaseJavaClient
  25. def gets(key: String): Future[ResultWithCAS]

    Get a key from the server together with a "cas unique" token used in cas operations.

    Get a key from the server together with a "cas unique" token used in cas operations.

    Definition Classes
    JavaClientBaseJavaClient
  26. def getsResult(keys: List[String]): Future[GetsResult]
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def incr(key: String, delta: Long): Future[Long]
    Definition Classes
    JavaClientBaseJavaClient
  29. def incr(key: String): Future[Long]

    Increment a key.

    Increment a key. Interpret the value as an Long if it is parsable. This operation has no effect if there is no value there already.

    Definition Classes
    JavaClientBaseJavaClient
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def prepend(key: String, value: Buf): Future[Boolean]

    Prepend bytes to the beginning of an existing key.

    Prepend bytes to the beginning of an existing key. If the key doesn't exist, the operation has no effect.

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  35. def prepend(key: String, value: String): Future[Boolean]
    Definition Classes
    JavaClient
  36. def release(): Unit

    release the underlying service(s)

    release the underlying service(s)

    Definition Classes
    JavaClientBaseJavaClient
  37. def replace(key: String, flags: Int, expiry: Time, value: Buf): Future[Boolean]

    Replace bytes on an existing key.

    Replace bytes on an existing key. If the key doesn't exist, the operation has no effect.

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  38. def replace(key: String, value: Buf): Future[Boolean]

    Replace bytes on an existing key.

    Replace bytes on an existing key. If the key doesn't exist, the operation has no effect.

    returns

    true if stored, false if not stored

    Definition Classes
    JavaClientBaseJavaClient
  39. def set(key: String, flags: Int, expiry: Time, value: Buf): Future[Void]

    Store a key.

    Store a key. Override an existing value.

    returns

    void

    Definition Classes
    JavaClientBaseJavaClient
  40. def set(key: String, value: Buf): Future[Void]

    Store a key.

    Store a key. Override an existing value.

    returns

    true

    Definition Classes
    JavaClientBaseJavaClient
  41. def set(key: String, value: String): Future[Void]
    Definition Classes
    JavaClient
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from JavaClient

Inherited from AnyRef

Inherited from Any

Ungrouped