public class RepoRunner extends DNASynchronizer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NEW_SERVER_ID_PREFIX |
STATE_BROKEN, STATE_RUNNING, STATE_STOPPED| Constructor and Description |
|---|
RepoRunner(java.io.File serverDir,
Main main,
java.lang.String repoType,
int serverPortOffset,
java.lang.String serverDesc,
RepoRunner indexRepo)
Construct the synchronizer that provides an interface to start and
stop the server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
indexMe(java.lang.String repoIDToBeIndexed)
This is called by other RepoRunners in order to notify them that
they want to be indexed
|
boolean |
isRunning()
Returns true if the server is running and responding to requests
|
addListener, getMessage, getProgress, getState, hasBeenKilled, kill, removeListener, setThreadName, start, stop, toStringpublic static final java.lang.String NEW_SERVER_ID_PREFIX
public RepoRunner(java.io.File serverDir,
Main main,
java.lang.String repoType,
int serverPortOffset,
java.lang.String serverDesc,
RepoRunner indexRepo)
public void indexMe(java.lang.String repoIDToBeIndexed)
public boolean isRunning()
isRunning in class DNASynchronizer