Top Fields Constructors Methods
io.rsocket.resume

public Class SessionManager

extends Object
Class Inheritance
Imports
io.netty.buffer.ByteBuf, io.netty.util.CharsetUtil, java.util.Map, java.util.concurrent.ConcurrentHashMap, org.slf4j.Logger, .LoggerFactory, reactor.util.annotation.Nullable

Field Summary

Modifier and TypeField and Description
private volatile boolean
pack-priv static final Logger
private final Map<String, ServerRSocketSession>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public ServerRSocketSession
get(ByteBuf resumeToken)

public ServerRSocketSession
save(ServerRSocketSession session, ByteBuf resumeToken)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isDisposedback to summary
private volatile boolean isDisposed
loggerback to summary
pack-priv static final Logger logger
sessionsback to summary
private final Map<String, ServerRSocketSession> sessions

Constructor Detail

SessionManagerback to summary
public SessionManager()

Method Detail

disposeback to summary
public void dispose()
getback to summary
public ServerRSocketSession get(ByteBuf resumeToken)
Annotations
@Nullable
saveback to summary
public ServerRSocketSession save(ServerRSocketSession session, ByteBuf resumeToken)