@Deprecated public abstract static class GenericContainer.AbstractWaitStrategy extends AbstractWaitStrategy implements WaitStrategy
Modifier and Type | Field and Description |
---|---|
protected GenericContainer |
container
Deprecated.
|
protected java.time.Duration |
startupTimeout
Deprecated.
|
waitStrategyTarget
Constructor and Description |
---|
AbstractWaitStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
getLivenessCheckPort()
Deprecated.
|
protected java.util.Set<java.lang.Integer> |
getLivenessCheckPorts()
Deprecated.
|
protected org.rnorth.ducttape.ratelimits.RateLimiter |
getRateLimiter()
Deprecated.
|
protected org.slf4j.Logger |
logger()
Deprecated.
|
protected abstract void |
waitUntilReady()
Deprecated.
Wait until
container has started. |
void |
waitUntilReady(GenericContainer container)
Deprecated.
Wait until the container has started.
|
WaitStrategy |
withStartupTimeout(java.time.Duration startupTimeout)
Deprecated.
Set the duration of waiting time until container treated as started.
|
waitUntilReady
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
waitUntilReady
protected GenericContainer container
@NonNull protected java.time.Duration startupTimeout
public void waitUntilReady(GenericContainer container)
container
- the container for which to waitprotected abstract void waitUntilReady()
container
has started.waitUntilReady
in class AbstractWaitStrategy
public WaitStrategy withStartupTimeout(java.time.Duration startupTimeout)
withStartupTimeout
in interface WaitStrategy
withStartupTimeout
in class AbstractWaitStrategy
startupTimeout
- timeoutWaitStrategy.waitUntilReady(GenericContainer)
protected org.slf4j.Logger logger()
@Deprecated protected java.lang.Integer getLivenessCheckPort()
getLivenessCheckPorts()
protected java.util.Set<java.lang.Integer> getLivenessCheckPorts()
getLivenessCheckPorts
in class AbstractWaitStrategy
protected org.rnorth.ducttape.ratelimits.RateLimiter getRateLimiter()
getRateLimiter
in class AbstractWaitStrategy