| Package | Description |
|---|---|
| blazingcache.client |
| Modifier and Type | Method and Description |
|---|---|
CacheClientBuilder |
CacheClientBuilder.clientId(String clientId)
The the ID of the client, it MUST be unique, it represent the peer on the
network
|
CacheClientBuilder |
CacheClientBuilder.clientSecret(String clientSecret)
Secret for autentication to the CacheServer
|
CacheClientBuilder |
CacheClientBuilder.connectTimeout(int connectTimeout)
Connection timeout for sockets
|
CacheClientBuilder |
CacheClientBuilder.host(String host)
Host of the server for the SINGLESERVER mode
|
CacheClientBuilder |
CacheClientBuilder.localCacheServer(Object cacheServer)
Pass a custom local CacheServer for LOCAL mode
|
CacheClientBuilder |
CacheClientBuilder.maxMemory(long maxMemory)
Limit on the memory retained by the cache, the value is expressed in
bytes
|
CacheClientBuilder |
CacheClientBuilder.mode(CacheClientBuilder.Mode mode)
Discovery mode
|
static CacheClientBuilder |
CacheClientBuilder.newBuilder() |
CacheClientBuilder |
CacheClientBuilder.port(int port)
Port of the server for the SINGLESERVER mode
|
CacheClientBuilder |
CacheClientBuilder.socketTimeout(int socketTimeout)
Socket timeout for sockets
|
CacheClientBuilder |
CacheClientBuilder.ssl(boolean ssl)
SSL mode for the SINGLESERVER mode
|
CacheClientBuilder |
CacheClientBuilder.zkConnectString(String zkConnectString)
Zookeeper connection string
|
CacheClientBuilder |
CacheClientBuilder.zkPath(String zkPath)
Zookeeper Path for discovery
|
CacheClientBuilder |
CacheClientBuilder.zkSessionTimeout(int zkSessionTimeout)
Timeout for the Zookeeper client
|
Copyright © 2016. All rights reserved.