public class CacheConnection extends Connection
protocol, server, version| Constructor and Description |
|---|
CacheConnection(JedisSocketFactory socketFactory,
JedisClientConfig clientConfig,
Cache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
Close the socket and disconnect the server.
|
<T> T |
executeCommand(CommandObject<T> commandObject) |
Cache |
getCache() |
protected void |
initializeFromClientConfig(JedisClientConfig config) |
protected java.lang.Object |
protocolRead(RedisInputStream inputStream) |
protected void |
protocolReadPushes(RedisInputStream inputStream) |
close, connect, encodeToBytes, executeCommand, executeCommand, flush, getAuthXManager, getBinaryBulkReply, getBinaryMultiBulkReply, getBulkReply, getIntegerMultiBulkReply, getIntegerReply, getMany, getMultiBulkReply, getObjectMultiBulkReply, getOne, getRedisProtocol, getSoTimeout, getStatusCodeReply, getUnflushedObject, getUnflushedObjectMultiBulkReply, hello, isBroken, isConnected, isTokenBasedAuthenticationEnabled, ping, readProtocolWithCheckingBroken, readPushesWithCheckingBroken, reAuthenticate, rollbackTimeout, select, sendCommand, sendCommand, sendCommand, sendCommand, sendCommand, setBroken, setCredentials, setHandlingPool, setSoTimeout, setTimeoutInfinite, toIdentityString, toStringpublic CacheConnection(JedisSocketFactory socketFactory, JedisClientConfig clientConfig, Cache cache)
protected void initializeFromClientConfig(JedisClientConfig config)
initializeFromClientConfig in class Connectionprotected java.lang.Object protocolRead(RedisInputStream inputStream)
protocolRead in class Connectionprotected void protocolReadPushes(RedisInputStream inputStream)
protocolReadPushes in class Connectionpublic void disconnect()
Connectiondisconnect in class Connectionpublic <T> T executeCommand(CommandObject<T> commandObject)
executeCommand in class Connectionpublic Cache getCache()
Copyright © 2025. All rights reserved.