public abstract class JobServerDriver
extends java.lang.Object
implements java.lang.Runnable
InMemoryJobService
.Modifier and Type | Class and Description |
---|---|
static class |
JobServerDriver.ServerConfiguration
Configuration for the jobServer.
|
Modifier and Type | Field and Description |
---|---|
JobServerDriver.ServerConfiguration |
configuration |
Modifier | Constructor and Description |
---|---|
protected |
JobServerDriver(JobServerDriver.ServerConfiguration configuration,
ServerFactory jobServerFactory,
ServerFactory artifactServerFactory) |
Modifier and Type | Method and Description |
---|---|
protected static ServerFactory |
createArtifactServerFactory(JobServerDriver.ServerConfiguration configuration) |
protected abstract JobInvoker |
createJobInvoker() |
protected static ServerFactory |
createJobServerFactory(JobServerDriver.ServerConfiguration configuration) |
protected InMemoryJobService |
createJobService() |
protected java.lang.String |
createSessionToken(java.lang.String session) |
void |
run() |
java.lang.String |
start() |
void |
stop() |
public JobServerDriver.ServerConfiguration configuration
protected JobServerDriver(JobServerDriver.ServerConfiguration configuration, ServerFactory jobServerFactory, ServerFactory artifactServerFactory)
protected abstract JobInvoker createJobInvoker()
protected InMemoryJobService createJobService() throws java.io.IOException
java.io.IOException
protected static ServerFactory createJobServerFactory(JobServerDriver.ServerConfiguration configuration)
protected static ServerFactory createArtifactServerFactory(JobServerDriver.ServerConfiguration configuration)
public java.lang.String start() throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
public void stop()
protected java.lang.String createSessionToken(java.lang.String session)