@Override public void remove(Session session, boolean update) { super.remove(session, update); if (session.getIdInternal() != null) { ((RedissonSession)session).delete(); } }
@Override public void remove(Session session, boolean update) { super.remove(session, update); if (session.getIdInternal() != null) { ((RedissonSession)session).delete(); } }
@Override public void remove(Session session) { super.remove(session); if (session.getIdInternal() != null) { ((RedissonSession)session).delete(); } }
@Override public void remove(Session session, boolean update) { super.remove(session, update); if (session.getIdInternal() != null) { ((RedissonSession)session).delete(); } }
/** * Remove this Session from the active Sessions for this Manager. * * @param session Session to be removed */ public void remove(Session session) { sessions.remove(session.getIdInternal()); }
/** * Remove this Session from the active Sessions for this Manager. * * @param session Session to be removed */ public void remove(Session session) { sessions.remove(session.getIdInternal()); }
/** * Add this Session to the set of active Sessions for this Manager. * * @param session Session to be added */ public void add(Session session) { sessions.put(session.getIdInternal(), session); int size = sessions.size(); if( size > maxActive ) { maxActive = size; } }
/** * Add this Session to the set of active Sessions for this Manager. * * @param session Session to be added */ public void add(Session session) { sessions.put(session.getIdInternal(), session); int size = sessions.size(); if( size > maxActive ) { maxActive = size; } }
@Override public void add(Session session) { sessions.put(session.getIdInternal(), session); int size = getActiveSessions(); if( size > maxActive ) { synchronized(maxActiveUpdateLock) { if( size > maxActive ) { maxActive = size; } } } }
@Override public void add(Session session) { sessions.put(session.getIdInternal(), session); int size = getActiveSessions(); if( size > maxActive ) { synchronized(maxActiveUpdateLock) { if( size > maxActive ) { maxActive = size; } } } }
/** * Send message delta message from request session * @param session current session * @param manager session manager */ protected void sendMessage(Session session, ClusterManager manager) { String id = session.getIdInternal(); if (id != null) { send(manager, id); } }
/** * Send message delta message from request session * @param session current session * @param manager session manager */ protected void sendMessage(Session session, ClusterManager manager) { String id = session.getIdInternal(); if (id != null) { send(manager, id); } }
protected void changeSessionId(Session session, String newId, boolean notifySessionListeners, boolean notifyContainerListeners) { String oldId = session.getIdInternal(); session.setId(newId, false); session.tellChangedSessionId(newId, oldId, notifySessionListeners, notifyContainerListeners); }
/** * {@inheritDoc} * <p> * Remove this Session from the Store. */ @Override public void remove(Session session, boolean update) { super.remove (session, update); if (store != null){ removeSession(session.getIdInternal()); } }
/** * Remove this Session from the active Sessions for this Manager, * and from the Store. * * @param session Session to be removed */ public void remove(Session session) { super.remove (session); if (store != null){ removeSession(session.getIdInternal()); } }
protected void changeSessionId(Session session, String newId, boolean notifySessionListeners, boolean notifyContainerListeners) { String oldId = session.getIdInternal(); session.setId(newId, false); session.tellChangedSessionId(newId, oldId, notifySessionListeners, notifyContainerListeners); }
/** * Remove this Session from the active Sessions for this Manager, * and from the Store. * * @param session Session to be removed */ public void remove(Session session) { super.remove (session); if (store != null){ removeSession(session.getIdInternal()); } }
/** * {@inheritDoc} * <p> * Remove this Session from the Store. */ @Override public void remove(Session session, boolean update) { super.remove (session, update); if (store != null){ removeSession(session.getIdInternal()); } }
protected void changeSessionId(Session session, String newId, boolean notifySessionListeners, boolean notifyContainerListeners) { String oldId = session.getIdInternal(); session.setId(newId, false); session.tellChangedSessionId(newId, oldId, notifySessionListeners, notifyContainerListeners); }
/** * Remove this Session from the active Sessions for this Manager, * and from the Store. * * @param session Session to be removed */ public void remove(Session session) { super.remove (session); if (store != null){ removeSession(session.getIdInternal()); } }