public class RPMConnectionServiceImpl extends AbstractService implements RPMConnectionService
Modifier and Type | Field and Description |
---|---|
static long |
APP_SERVER_PORT_TIMEOUT |
static long |
INITIAL_APP_SERVER_PORT_DELAY |
static long |
MIN_CONNECT_ATTEMPT_INTERVAL |
static java.lang.String |
RPM_CONNECTION_THREAD_NAME |
static long |
SUBSEQUENT_APP_SERVER_PORT_DELAY |
logger
Constructor and Description |
---|
RPMConnectionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
connect(IRPMService rpmService)
Start a connection task for the service.
|
void |
connectImmediate(IRPMService rpmService)
Start an immediate connection task for the RPM service.
|
protected void |
doStart() |
protected void |
doStop() |
long |
getAppServerPortTimeout()
Tests can override.
|
long |
getInitialAppServerPortDelay()
Tests can override.
|
boolean |
isEnabled()
Is the service enabled.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stop
public static final java.lang.String RPM_CONNECTION_THREAD_NAME
public static final long INITIAL_APP_SERVER_PORT_DELAY
public static final long SUBSEQUENT_APP_SERVER_PORT_DELAY
public static final long APP_SERVER_PORT_TIMEOUT
public static final long MIN_CONNECT_ATTEMPT_INTERVAL
protected void doStart()
doStart
in class AbstractService
protected void doStop()
doStop
in class AbstractService
public void connect(IRPMService rpmService)
connect
in interface RPMConnectionService
public void connectImmediate(IRPMService rpmService)
connectImmediate
in interface RPMConnectionService
public boolean isEnabled()
Service
public long getInitialAppServerPortDelay()
public long getAppServerPortTimeout()