code: public static void invalidateSession(final String _sessionId)
      {
          if (RegistryManager.getCache().containsKey(_sessionId)) {
              RegistryManager.getCache().get(_sessionId).markInvalid();
          }
      }
docs: Invalidate session.
  
  @param _sessionId the session id