org.sonar.search
Class SearchServer
java.lang.Object
org.sonar.search.SearchServer
- All Implemented Interfaces:
- Monitored
public class SearchServer
- extends Object
- implements 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. |
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 |
SONAR_NODE_NAME
public static final String SONAR_NODE_NAME
- See Also:
- Constant Field Values
ES_PORT_PROPERTY
public static final String ES_PORT_PROPERTY
- See Also:
- Constant Field Values
ES_CLUSTER_PROPERTY
public static final String ES_CLUSTER_PROPERTY
- See Also:
- Constant Field Values
ES_CLUSTER_INET
public static final String ES_CLUSTER_INET
- See Also:
- Constant Field Values
SONAR_PATH_HOME
public static final String SONAR_PATH_HOME
- See Also:
- Constant Field Values
SONAR_PATH_DATA
public static final String SONAR_PATH_DATA
- See Also:
- Constant Field Values
SONAR_PATH_TEMP
public static final String SONAR_PATH_TEMP
- See Also:
- Constant Field Values
SONAR_PATH_LOG
public static final String SONAR_PATH_LOG
- See Also:
- Constant Field Values
SearchServer
public SearchServer(Props props)
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.