public abstract class JobServerDriver
extends java.lang.Object
implements java.lang.Runnable
InMemoryJobService
.Modifier and Type | Class and Description |
---|---|
static interface |
JobServerDriver.JobInvokerFactory |
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,
JobServerDriver.JobInvokerFactory jobInvokerFactory) |
Modifier and Type | Method and Description |
---|---|
protected static ServerFactory |
createArtifactServerFactory(JobServerDriver.ServerConfiguration configuration) |
protected static ServerFactory |
createJobServerFactory(JobServerDriver.ServerConfiguration configuration) |
protected InMemoryJobService |
createJobService() |
protected java.lang.String |
createSessionToken(java.lang.String session) |
java.lang.String |
getJobServerUrl() |
void |
run() |
java.lang.String |
start() |
void |
stop() |
public JobServerDriver.ServerConfiguration configuration
protected JobServerDriver(JobServerDriver.ServerConfiguration configuration, ServerFactory jobServerFactory, ServerFactory artifactServerFactory, JobServerDriver.JobInvokerFactory jobInvokerFactory)
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 getJobServerUrl()
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)