public interface SynchronyProcessManager
Modifier and Type | Interface and Description |
---|---|
static class |
SynchronyProcessManager.ExternalProcessState |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConfiguration()
Returns a map containing various configuration information.
|
String |
getSynchronyProperty(SynchronyEnv env)
Returns the configured environment value for the provided key.
|
default boolean |
isSynchronyStartingUp()
Determines if the Synchrony that Confluence uses to connect to is in the process of starting up.
|
com.atlassian.util.concurrent.Promise<Boolean> |
restart()
Shuts down and then starts up the Synchrony process.
|
com.atlassian.util.concurrent.Promise<Boolean> |
startup()
Starts the Synchrony process and returns a Promise
|
boolean |
stop()
Terminates the Synchrony process.
|
com.atlassian.util.concurrent.Promise<Boolean> startup()
boolean stop()
String getSynchronyProperty(SynchronyEnv env)
env
- the key that will be looked upcom.atlassian.util.concurrent.Promise<Boolean> restart()
stop()
and then startup()
.
However, this method waits for ExternalProcess.isAlive()
to return false
in between stopping and starting.Map<String,String> getConfiguration()
default boolean isSynchronyStartingUp()
Copyright © 2003–2017 Atlassian. All rights reserved.