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, toString
public CacheConnection(JedisSocketFactory socketFactory, JedisClientConfig clientConfig, Cache cache)
protected void initializeFromClientConfig(JedisClientConfig config)
initializeFromClientConfig
in class Connection
protected java.lang.Object protocolRead(RedisInputStream inputStream)
protocolRead
in class Connection
protected void protocolReadPushes(RedisInputStream inputStream)
protocolReadPushes
in class Connection
public void disconnect()
Connection
disconnect
in class Connection
public <T> T executeCommand(CommandObject<T> commandObject)
executeCommand
in class Connection
public Cache getCache()
Copyright © 2025. All rights reserved.