| 程序包 | 说明 |
|---|---|
| net.rubyeye.xmemcached |
XMemcached's main classes and interfaces,use these
classes/interfaces to interact with memcached servers.
|
| net.rubyeye.xmemcached.auth |
Memcached 1.4.3 or later version has supported SASL authentication,these classes are used for that
|
| net.rubyeye.xmemcached.utils |
XMemcached Utilities
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<InetSocketAddress,AuthInfo> |
XMemcachedClientBuilder.getAuthInfoMap() |
Map<InetSocketAddress,AuthInfo> |
XMemcachedClient.getAuthInfoMap() |
Map<InetSocketAddress,AuthInfo> |
MemcachedClientBuilder.getAuthInfoMap()
return current all auth info
|
Map<InetSocketAddress,AuthInfo> |
MemcachedClient.getAuthInfoMap()
return current all auth info
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XMemcachedClientBuilder.addAuthInfo(InetSocketAddress address,
AuthInfo authInfo) |
void |
MemcachedClientBuilder.addAuthInfo(InetSocketAddress address,
AuthInfo authInfo)
Add auth info for memcached server
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XMemcachedClientBuilder.setAuthInfoMap(Map<InetSocketAddress,AuthInfo> authInfoMap) |
void |
XMemcachedClient.setAuthInfoMap(Map<InetSocketAddress,AuthInfo> map) |
void |
MemcachedClientBuilder.setAuthInfoMap(Map<InetSocketAddress,AuthInfo> map)
Configure auth info
|
void |
MemcachedClient.setAuthInfoMap(Map<InetSocketAddress,AuthInfo> map)
Configure auth info
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AuthInfo |
AuthInfo.cramMD5(String username,
String password)
Get a typical auth descriptor for CRAM-MD5 auth with the given username
and password.
|
static AuthInfo |
AuthInfo.plain(String username,
String password)
Get a typical auth descriptor for PLAIN auth with the given username and
password.
|
static AuthInfo |
AuthInfo.typical(String username,
String password)
Get a typical auth descriptor for CRAM-MD5 or PLAIN auth with the given
username and password.
|
| 构造器和说明 |
|---|
AuthTask(AuthInfo authInfo,
CommandFactory commandFactory,
MemcachedTCPSession memcachedTCPSession) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<InetSocketAddress,AuthInfo> |
XMemcachedClientFactoryBean.getAuthInfoMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XMemcachedClientFactoryBean.setAuthInfoMap(Map<InetSocketAddress,AuthInfo> authInfoMap) |
Copyright © 2013. All Rights Reserved.