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)
SessionManager
getPushSession
in interface SessionManager
public void destroy()
SessionManager
destroy
in interface SessionManager
public void putPushSession(Session session) throws IllegalStateException
SessionManager
putPushSession
in interface SessionManager
IllegalStateException
public void requeue(Session session)
SessionManager
SessionManager.putPushSession(Session)
.requeue
in interface SessionManager
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.