public class SessionManagerImpl extends Object implements SessionManager
| Constructor and Description |
|---|
SessionManagerImpl(ThreadFactory threadFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys all associated sessions
|
Session |
getPushSession(String id)
Look ups session with given ID
|
void |
putPushSession(Session session)
Registers session to the system
|
void |
requeue(Session session)
Re-queues given session without actually adding it when it is not registered yet via
SessionManager.putPushSession(Session). |
public SessionManagerImpl(ThreadFactory threadFactory)
public Session getPushSession(String id)
SessionManagergetPushSession in interface SessionManagerpublic void destroy()
SessionManagerdestroy in interface SessionManagerpublic void putPushSession(Session session) throws IllegalStateException
SessionManagerputPushSession in interface SessionManagerIllegalStateExceptionpublic void requeue(Session session)
SessionManagerSessionManager.putPushSession(Session).requeue in interface SessionManagerCopyright © 2015 JBoss by Red Hat. All Rights Reserved.