@Deprecated public class ClusterClient extends Client implements ClusterClient
Client.IndexOptionsDELETE_DOCUMENT, FUZZY_FLAG, INCREMENT_FLAG, MAX_FLAG, PAYLOAD_FLAG| Constructor and Description |
|---|
ClusterClient(String indexName,
String host,
int port)
Deprecated.
|
ClusterClient(String indexName,
String host,
int port,
int timeout,
int poolSize)
Deprecated.
Create a new client to a RediSearch index
|
ClusterClient(String indexName,
String host,
int port,
int timeout,
int poolSize,
String password)
Deprecated.
Create a new ClusterClient to a RediSearch index which can connect to password protected
Redis Server
|
ClusterClient(String indexName,
String masterName,
Set<String> sentinels)
Deprecated.
Creates a new ClusterClient to a RediSearch index with JedisSentinelPool implementation.
|
ClusterClient(String indexName,
String masterName,
Set<String> sentinels,
int timeout,
int poolSize)
Deprecated.
Creates a new ClusterClient to a RediSearch index with JedisSentinelPool implementation.
|
ClusterClient(String indexName,
String masterName,
Set<String> sentinels,
int timeout,
int poolSize,
String password)
Deprecated.
Creates a new ClusterClient to a RediSearch index with JedisSentinelPool implementation.
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
broadcast(String... args)
Deprecated.
|
addAlias, addDocument, addDocument, addDocument, addDocument, addDocument, addDocuments, addDocuments, addHash, addSuggestion, addSynonym, aggregate, aggregate, alterIndex, close, connection, createIndex, cursorDelete, cursorRead, deleteAlias, deleteDocument, deleteDocument, deleteDocuments, deleteSuggestion, dropIndex, dropIndex, dumpSynonym, explain, getAllConfig, getConfig, getDocument, getDocument, getDocuments, getDocuments, getInfo, getSuggestion, getSuggestionLength, replaceDocument, replaceDocument, search, search, searchBatch, setConfig, updateAlias, updateDocument, updateDocument, updateSynonym, updateSynonymclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAlias, addDocument, addDocument, addDocument, addDocument, addDocument, addDocuments, addDocuments, addHash, addSuggestion, addSynonym, aggregate, aggregate, alterIndex, connection, createIndex, cursorDelete, cursorRead, deleteAlias, deleteDocument, deleteDocument, deleteDocuments, deleteSuggestion, dropIndex, dropIndex, dumpSynonym, explain, getAllConfig, getConfig, getDocument, getDocument, getDocuments, getDocuments, getInfo, getSuggestion, getSuggestionLength, replaceDocument, replaceDocument, search, search, searchBatch, setConfig, updateAlias, updateDocument, updateDocument, updateSynonym, updateSynonympublic ClusterClient(String indexName, String host, int port, int timeout, int poolSize)
indexName - the name of the index we are connecting to or creatinghost - the redis hostport - the redis pottimeout - the connection timeoutpoolSize - the connection pool sizepublic ClusterClient(String indexName, String host, int port, int timeout, int poolSize, String password)
indexName - the name of the index we are connecting to or creatinghost - the redis hostport - the redis pottimeout - the connection timeoutpoolSize - the connection pool sizepassword - the password for authentication in a password protected Redis serverpublic ClusterClient(String indexName, String masterName, Set<String> sentinels, int timeout, int poolSize, String password)
indexName - the name of the index we are connecting to or creatingmasterName - the masterName to connect from list of masters monitored by sentinelssentinels - the set of sentinels monitoring the clustertimeout - the timeout in millisecondspoolSize - the poolSize of JedisSentinelPoolpassword - the password for authentication in a password protected Redis serverpublic ClusterClient(String indexName, String masterName, Set<String> sentinels, int timeout, int poolSize)
The Client is initialized with following default values for JedisSentinelPool
indexName - the name of the index we are connecting to or creatingmasterName - the masterName to connect from list of masters monitored by sentinelssentinels - the set of sentinels monitoring the clustertimeout - the timeout in millisecondspoolSize - the poolSize of JedisSentinelPoolpublic ClusterClient(String indexName, String masterName, Set<String> sentinels)
The Client is initialized with following default values for JedisSentinelPool
indexName - the name of the index we are connecting to or creatingmasterName - the masterName to connect from list of masters monitored by sentinelssentinels - the set of sentinels monitoring the clusterpublic List<Object> broadcast(String... args)
broadcast in interface ClusterClientCopyright © 2021 RedisLabs. All rights reserved.