code: public void invalidate(String sessionId) {
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
              StringBuffer sb = new StringBuffer("for app ").append(_sap.getAppName()).append(" id ").append(sessionId);
              LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[INVALIDATE], sb.toString());
          }
          ISession iSess = _coreHttpSessionManager.getISession(sessionId);
  
          if (iSess != null) {
              IStore iStore = _coreHttpSessionManager.getIStore();
              try {
                  iStore.setThreadContext();
                  synchronized (iSess) { // START PM47941
                      if (iSess.isValid()) {
                          iSess.invalidate();
                      }
                  } // END PM47941
              } finally {
                  iStore.unsetThreadContext();
              }
          }
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
              LoggingUtil.SESSION_LOGGER_CORE.exiting(methodClassName, methodNames[INVALIDATE]);
          }
      }
docs: /*
  This method is called from invalidateAll for local invalidations.