public interface Precondition
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(String subAgentName,
long pkgOffset,
int timeoutSeconds)
Checks if a package can be processed
|
boolean canProcess(String subAgentName, long pkgOffset, int timeoutSeconds) throws TimeoutException
pkgOffset - the offset of the packagetimeoutSeconds - max seconds to wait until returningTimeoutException - if the timeout expired without being able to determine statusIllegalStateException - if the precondition can't be evaluatedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.