暂时倒计时
调用{@link #restart()}方法重新开始
499187
public synchronized final void pause() {
        if (isStop) return ;

        isPause = true;
        mPauseTimeInFuture = mStopTimeInFuture - SystemClock.elapsedRealtime();
        mHandler.removeMessages(MSG);
    }
205531
def restart(self, timeout=300, config_callback=None):
        """"""
        for member_id in self.server_map:
            host = self.server_map[member_id]
            server_id = self._servers.host_to_server_id(host)
            server = self._servers._storage[server_id]
            server.restart(timeout, config_callback)
        self.waiting_member_state()
293041
@Override
    public final void restart() {
        if (DynamicTasks.getTaskQueuingContext() != null) {
            doRestart(ConfigBag.EMPTY);
        } else {
            Task<?> task = Tasks.builder().name("restart").body(new Runnable() {
                public void run() {
                    doRestart(ConfigBag.EMPTY);
                }
            }).build();
            Entities.submit(this, task).getUnchecked();
        }
    }
1071760
public void restart() {
        lock.writeLock().lock();
        try {
            if (this.timeoutTask == null) {
                throw new IllegalStateException(Tr.formatMessage(tc, "internal.error.CWMFT4999E"));
            }
            stop();
            this.stopped = false;
            start(this.timeoutTask);
        } finally {
            lock.writeLock().unlock();
        }
    }
233453
def restart(self, container, **kwargs):
        
        self.push_log("Restarting container '{0}'.".format(container))
        super(DockerFabricClient, self).restart(container, **kwargs)
808468
public void reset() {
		this.errorType = ErrorType.NONE;
		this.message = null;
		this.columnName = null;
		this.columnValue = null;
		this.columnType = null;
		this.line = null;
		this.lineNumber = 0;
		this.linePos = 0;
	}
57804
@Override
    public void reset() {
        updatesLock.writeLock().lock();

        if (storage != null) {
            storage.assign(0.0f);
        }

        if (updates != null)
            updates.assign(0.0f);

        updatesLock.writeLock().unlock();
    }
486298
private void refreshTree(HttpServletRequest request, TreeControl control) throws Exception {
    String key = request.getParameter("key");
    if (key != null) {
      ViewNode node = control.findNode(key);
      if (node != null) {
        Debug.logVerbose("[JdonFramework]Found Node: " + key, module);
        if (!node.isExpanded()) {
          //原来是叠合的，现在需要展开
          //需要查询数据库，将该节点下的子节点查询获取
          node.clearChildren();
          fetchChildern(request, node);
        }
        node.setExpanded(!node.isExpanded());
      } else {
        Debug.logVerbose("[JdonFramework]Node is null : " + key);
      }
    }
    // Handle a select item event
    String select = request.getParameter("select");
    if (select != null) {
        control.selectNode(select);
    }

  }
410274
public function restart()
	{
		$this->destroy();

		if ($this->state !== 'destroyed')
		{
			// @TODO :: generated error here
			return false;
		}

		// Re-register the session handler after a session has been destroyed, to avoid PHP bug
		$this->store->register();

		$this->state = 'restart';

		// Regenerate session id
		$id = $this->createId();

		session_id($id);

		$this->start();
		$this->state = 'active';

		$this->validate();
		$this->setCounter();

		return true;
	}
1340792
public static final void reset(){
		instance.reset();
		String junittest = System.getProperty("JUNITTEST");
		if (junittest!=null && junittest.equalsIgnoreCase("true"))
			return;
		StartBuiltInProducers.restartbuiltin();
	}
807175
def restartIndyPool(**kwargs):
    ''''''
    print("Restarting...")
    try:
      stopIndyPool()
      startIndyPool()
      print("...restarted")
    except Exception as exc:
      eprint("...failed to restart")
      raise exc
750373
@Override
    public void start() {
        ConnectionPoolMBeanManager.getInstance().registerMonitor(config.getName(), this);

        String seeds = config.getSeeds();
        if (seeds != null && !seeds.isEmpty()) {
            setHosts(config.getSeedHosts());
        }

        config.getLatencyScoreStrategy().start(new Listener() {
            @Override
            public void onUpdate() {
                rebuildPartitions();
            }

            @Override
            public void onReset() {
                rebuildPartitions();
            }
        });
    }
881328
public void reset()
  {
    m_flushedStartDoc = false;
    m_foundFirstElement = false;
    m_outputStream = null;
    clearParameters();
    m_result = null;
    m_resultContentHandler = null;
    m_resultDeclHandler = null;
    m_resultDTDHandler = null;
    m_resultLexicalHandler = null;
    m_serializer = null;
    m_systemID = null;
    m_URIResolver = null;
    m_outputFormat = new OutputProperties(Method.XML);
  }
158592
public void restart() {
		if (frames.size() == 0) {
			return;
		}
		stopped = false;
		currentFrame = 0;
		nextChange = (int) (((Frame) frames.get(0)).duration / speed);
		firstUpdate = true;
		lastUpdate = 0;
	}
436718
public function restart()
    {
        if (count($this->tasks) == 0)
            throw new \Exception("There are no tasks defined - can not restart");

        $this->stop();

        do {
            sleep(1);
        } while ($this->getPid() !== false);

        $this->start();
    }
617522
protected function restart()
    {
        if ($this->process->isStarted()) {
            event(new WorkerProcessRestarting($this));
        }

        $this->start($this->output);
    }
1037488
public void start(int restartableId) {
        stop(restartableId);
        requested.add(restartableId);
        restartableSubscriptions.put(restartableId, restartables.get(restartableId).call());
    }