code: public void suspend() throws SuspendException
     {
        if (rpcService != null)
        {
           isResponsibleForResuming.set(true);
  
           try
           {
              rpcService.executeCommandOnAllNodes(suspend, true);
           }
           catch (SecurityException e)
           {
              throw new SuspendException(e);
           }
           catch (RPCException e)
           {
              throw new SuspendException(e);
           }
        }
        else
        {
           suspendLocally();
        }
     }
docs: {@inheritDoc}