org.sonar.search
Class SearchServer

java.lang.Object
  extended by org.sonar.search.SearchServer
All Implemented Interfaces:
Monitored

public class SearchServer
extends Object
implements Monitored


Constructor Summary
SearchServer(Props props)
           
 
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.
static void main(String... args)
           
 void start()
          Starts process.
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchServer

public SearchServer(Props props)
Method Detail

start

public void start()
Description copied from interface: Monitored
Starts process. No need to block until fully started and operational.

Specified by:
start in interface Monitored

isReady

public boolean isReady()
Description copied from interface: Monitored
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).

Specified by:
isReady in interface Monitored

awaitStop

public void awaitStop()
Description copied from interface: Monitored
Blocks until the process is terminated

Specified by:
awaitStop in interface Monitored

stop

public void stop()
Specified by:
stop in interface Monitored

main

public static void main(String... args)


Copyright © 2009–2015 SonarSource. All rights reserved.