trait MemcachedRichClient extends AnyRef
Factory methods to build a finagle-memcached client.
- Self Type
- MemcachedRichClient with Client[Command, Response]
- Alphabetic
- By Inheritance
- MemcachedRichClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def newLoadBalancedTwemcacheClient(dest: Name, label: String): TwemcacheClient
If LoadBalancedTwemcacheClient is used to create a client a key hasher won't be used and instead a load balancing algorithm will be used that doesn't account for keys.
If LoadBalancedTwemcacheClient is used to create a client a key hasher won't be used and instead a load balancing algorithm will be used that doesn't account for keys. Some settings related to configuring client side hashing will be ignored
Argument
label
is used to assign a label to this client. The label is used to scope stats, etc. - abstract def newTwemcacheClient(dest: Name, label: String): TwemcacheClient
Constructs a memcached.Client that dispatches requests over
dest
.Constructs a memcached.Client that dispatches requests over
dest
. Whendest
resolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHasher
method onMemcached.client
. Failing hosts can be ejected from the hash ring ifwithEjectFailedHost
is set to true. Note, the current implementation only supports bound Names.Argument
label
is used to assign a label to this client. The label is used to scope stats, etc.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newLoadBalancedTwemcacheClient(dest: String): TwemcacheClient
If LoadBalancedTwemcacheClient is used to create a client a key hasher won't be used and instead a load balancing algorithm will be used that doesn't account for keys.
If LoadBalancedTwemcacheClient is used to create a client a key hasher won't be used and instead a load balancing algorithm will be used that doesn't account for keys. Some settings related to configuring client side hashing will be ignored
- def newRichClient(dest: String): memcached.Client
Constructs a memcached.Client that dispatches requests over
dest
.Constructs a memcached.Client that dispatches requests over
dest
. Whendest
resolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHasher
method onMemcached.client
. Failing hosts can be ejected from the hash ring ifwithEjectFailedHost
is set to true. Note, the current implementation only supports bound Names. - def newRichClient(dest: Name, label: String): memcached.Client
Constructs a memcached.Client that dispatches requests over
dest
.Constructs a memcached.Client that dispatches requests over
dest
. Whendest
resolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHasher
method onMemcached.client
. Failing hosts can be ejected from the hash ring ifwithEjectFailedHost
is set to true. Note, the current implementation only supports bound Names.Argument
label
is used to assign a label to this client. The label is used to scope stats, etc. - def newTwemcacheClient(dest: String): TwemcacheClient
Constructs a memcached.Client that dispatches requests over
dest
.Constructs a memcached.Client that dispatches requests over
dest
. Whendest
resolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHasher
method onMemcached.client
. Failing hosts can be ejected from the hash ring ifwithEjectFailedHost
is set to true. Note, the current implementation only supports bound Names. - final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()