public class RedisSession extends AbstractSession<IRedisCommandHolder> implements IRedisSession
| Constructor and Description |
|---|
RedisSession(IRedis owner,
IRedisCommandHolder commandHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IRedisCommandHolder |
getConnectionHolder()
获取连接对象
|
IRedis |
getOwner() |
getId, getSessionEventListener, setSessionEventListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getSessionEventListener, setSessionEventListenerpublic RedisSession(IRedis owner, IRedisCommandHolder commandHolder)
public IRedis getOwner()
public IRedisCommandHolder getConnectionHolder()
ISessiongetConnectionHolder in interface ISession<IRedisCommandHolder>public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022. All rights reserved.