Class MemcachedClientOptionsBuilder
java.lang.Object
io.datarouter.client.memcached.client.options.MemcachedClientOptionsBuilder
- All Implemented Interfaces:
io.datarouter.storage.client.ClientOptionsBuilder
public class MemcachedClientOptionsBuilder extends Object implements io.datarouter.storage.client.ClientOptionsBuilder
-
Field Summary
Fields Modifier and Type Field Description protected StringclientIdNameprotected PropertiespropertiesFields inherited from interface io.datarouter.storage.client.ClientOptionsBuilder
DEFAULT_CLIENT_ID -
Constructor Summary
Constructors Modifier Constructor Description MemcachedClientOptionsBuilder(io.datarouter.storage.client.ClientId clientId)protectedMemcachedClientOptionsBuilder(io.datarouter.storage.client.ClientId clientId, String clientTypeName) -
Method Summary
Modifier and Type Method Description Propertiesbuild()protected StringmakeKey(String suffix)MemcachedClientOptionsBuilderwithServers(String... inetSocketAddresses)MemcachedClientOptionsBuilderwithServers(List<String> inetSocketAddresses)
-
Field Details
-
clientIdName
-
properties
-
-
Constructor Details
-
MemcachedClientOptionsBuilder
public MemcachedClientOptionsBuilder(io.datarouter.storage.client.ClientId clientId) -
MemcachedClientOptionsBuilder
protected MemcachedClientOptionsBuilder(io.datarouter.storage.client.ClientId clientId, String clientTypeName)
-
-
Method Details
-
withServers
-
withServers
-
build
- Specified by:
buildin interfaceio.datarouter.storage.client.ClientOptionsBuilder
-
makeKey
-