public class ConcurrentSessionManager<L,B extends org.wildfly.clustering.ee.Batch> extends Object implements SessionManager<L,B>
| Constructor and Description |
|---|
ConcurrentSessionManager(SessionManager<L,B> manager,
org.wildfly.clustering.ee.ManagerFactory<String,Session<L>> concurrentManagerFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
createIdentifier() |
Session<L> |
createSession(String id) |
Session<L> |
findSession(String id) |
long |
getActiveSessionCount() |
Set<String> |
getActiveSessions() |
org.wildfly.clustering.ee.Batcher<B> |
getBatcher() |
Duration |
getDefaultMaxInactiveInterval() |
Set<String> |
getLocalSessions() |
Duration |
getStopTimeout() |
ImmutableSession |
readSession(String id) |
void |
setDefaultMaxInactiveInterval(Duration duration) |
void |
start() |
void |
stop() |
public Session<L> findSession(String id)
findSession in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public Session<L> createSession(String id)
createSession in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public String createIdentifier()
createIdentifier in interface IdentifierFactory<String>public void start()
start in interface IdentifierFactory<String>public void stop()
stop in interface IdentifierFactory<String>public long getActiveSessionCount()
getActiveSessionCount in interface ActiveSessionStatisticspublic Duration getDefaultMaxInactiveInterval()
getDefaultMaxInactiveInterval in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public void setDefaultMaxInactiveInterval(Duration duration)
setDefaultMaxInactiveInterval in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public org.wildfly.clustering.ee.Batcher<B> getBatcher()
getBatcher in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public Set<String> getActiveSessions()
getActiveSessions in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public Set<String> getLocalSessions()
getLocalSessions in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public ImmutableSession readSession(String id)
readSession in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>public Duration getStopTimeout()
getStopTimeout in interface SessionManager<L,B extends org.wildfly.clustering.ee.Batch>Copyright © 2021 JBoss by Red Hat. All rights reserved.