code: public void removeFromMemory(String id) {
          final boolean isTraceOn = com.ibm.websphere.ras.TraceComponent.isAnyTracingEnabled();
  
          if (isTraceOn && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINER)) {
              LoggingUtil.SESSION_LOGGER_WAS.entering(methodClassName, methodNames[REMOVE_FROM_MEMORY], id);
          }
  
          BackedSession sess = (BackedSession) ((BackedHashMap) _sessions).superGet(id);
          if (sess != null) {
              if (com.ibm.websphere.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE))
                  LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, methodNames[REMOVE_FROM_MEMORY],
                                                          "removing from memory");
              synchronized (sess) {
                  BackedSession sess1 = (BackedSession) ((BackedHashMap) _sessions).accessObject(id);
                  if (sess == sess1) {
                      Object removedEntry = ((BackedHashMap) _sessions).superRemove(id);
                      if (removedEntry != null) {
                          if (com.ibm.websphere.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINE))
                              LoggingUtil.SESSION_LOGGER_WAS.logp(Level.FINE, methodClassName, methodNames[REMOVE_FROM_MEMORY],
                                                                      "successfully removed from memory");
                      }
                  }
              }
          }
  
          if (isTraceOn && LoggingUtil.SESSION_LOGGER_WAS.isLoggable(Level.FINER))
              LoggingUtil.SESSION_LOGGER_WAS.exiting(methodClassName, methodNames[REMOVE_FROM_MEMORY]);
      }
docs: /*
  PK68691
  removeFromMemory
  Removes session from Memory if persistence is enabled, otherwise no op
  
  @see com.ibm.wsspi.session.IStore#removeFromMemory(java.lang.String)