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
- All
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
labelis 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. Whendestresolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHashermethod onMemcached.client. Failing hosts can be ejected from the hash ring ifwithEjectFailedHostis set to true. Note, the current implementation only supports bound Names.Argument
labelis 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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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. Whendestresolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHashermethod onMemcached.client. Failing hosts can be ejected from the hash ring ifwithEjectFailedHostis 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. Whendestresolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHashermethod onMemcached.client. Failing hosts can be ejected from the hash ring ifwithEjectFailedHostis set to true. Note, the current implementation only supports bound Names.Argument
labelis 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. Whendestresolves to multiple hosts, the hosts are hashed across a ring with key affinity. The key hashing algorithm can be configured via thewithKeyHashermethod onMemcached.client. Failing hosts can be ejected from the hash ring ifwithEjectFailedHostis 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()