org.sonar.process
Interface Monitored

All Known Implementing Classes:
SearchServer

public interface Monitored


Method Summary
 void awaitStop()
          Blocks until the process is terminated
 boolean isReady()
          True if the process is started and operational (-> can accept requests), false if it's still starting.
 void start()
          Starts process.
 void stop()
           
 

Method Detail

start

void start()
Starts process. No need to block until fully started and operational.


isReady

boolean isReady()
True if the process is started and operational (-> can accept requests), false if it's still starting. An exception is thrown is process failed to start (not starting nor started).


awaitStop

void awaitStop()
Blocks until the process is terminated


stop

void stop()


Copyright © 2009–2015 SonarSource. All rights reserved.