/** * Stops the master and cleans up client connections. * * <p>This method will not clean up {@link tachyon.util.UnderFileSystemUtils} data. To do that you * must call {@link #cleanupUnderfs()}. * * @throws Exception when the operation fails */ public void stop() throws Exception { clearClients(); mTachyonMaster.stop(); System.clearProperty("tachyon.web.resources"); System.clearProperty("tachyon.master.min.worker.threads"); }
/** * Get the actual port that the web service is listening on (used by unit test only) * * @return the Web local port */ public int getWebLocalPort() { return mTachyonMaster.getWebLocalPort(); }
/** * Get the actual bind hostname on web service (used by unit test only). * * @return the Web bind hostname */ public String getWebBindHost() { return mTachyonMaster.getWebBindHost(); }
/** Get the externally resolvable address of the master (used by unit test only). */ public InetSocketAddress getAddress() { return mTachyonMaster.getMasterAddress(); }
public boolean isServing() { return mTachyonMaster.isServing(); }