public String getId() { return key.toString(); }
@Override public String toString() { return getKey().toString(); } public SipApplicationRouterInfo getNextSipApplicationRouterInfo() {
/** * */ public void dumpSipSessions() { if(logger.isDebugEnabled()) { logger.debug("sip sessions present in the session manager"); Enumeration<SipSessionKey> keys = sipSessions.keys(); while(keys.hasMoreElements()) { logger.debug(keys.nextElement().toString()); } } }
public void processRemoteSipSessionAttributeRemoval(SipSessionKey sipSessionKey, String attrKey) { ClusteredSipSession session = findLocalSipSession(sipSessionKey, false, null); if (session != null) { final String realId = sipSessionKey.toString(); boolean localCall = false; // call is due to remote event boolean localOnly = true; // don't call back into cache boolean notify = false; // SRV.10.7 gives us leeway // not to notify listeners, // which is safer // Ensure the correct TCL is in place ClassLoader prevTcl = Thread.currentThread() .getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(tcl_); synchronized (session) { session.removeAttributeInternal(attrKey, localCall, localOnly, notify); } if (logger.isDebugEnabled()) log_ .debug("processRemoteAttributeRemoval: removed attribute " + attrKey + " from " + realId); } finally { Thread.currentThread().setContextClassLoader(prevTcl); } } }
public void processRemoteSipSessionInvalidation(SipSessionKey sipSessionKey) { final String realId = sipSessionKey.toString(); if (session == null) {
throw (RuntimeException) ex; throw new RuntimeException("Failed to load session " + key.toString(), ex); } finally { try { if (doTx) endTransaction(key.toString()); } finally { ConvergedSessionReplicationContext.finishSipCacheActivity(); unloadedSipSessions_.remove(key.toString()); stats_.updateLoadStats(key.toString(), elapsed); log_.debug("loadSession(): id= " + key.toString() + ", session=" + session); log_.debug("loadSession(): session " + key.toString() + " not found in distributed cache");
unloadedSipSessions_.remove(key.toString());
.isSipSessionBoundAndExpired(key.toString(), snapshotManager_); if (logger.isDebugEnabled()) { logger.debug("sip session " + key
removedSession = parentSipSession.removeDerivedSipSession(SessionManagerUtil.parseSipSessionKey(key.toString()).getToTag()); } catch (ParseException e) { logger.error("couldn't parse " + key);