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, setSessionEventListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getSessionEventListener, setSessionEventListener
public RedisSession(IRedis owner, IRedisCommandHolder commandHolder)
public IRedis getOwner()
public IRedisCommandHolder getConnectionHolder()
ISession
getConnectionHolder
in interface ISession<IRedisCommandHolder>
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2022. All rights reserved.