public interface Precondition
Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(long pkgOffset,
int timeoutSeconds)
Checks if a package can be processed
|
boolean canProcess(long pkgOffset, int timeoutSeconds)
pkgOffset
- the offset of the packagetimeoutSeconds
- max seconds to wait until returningIllegalStateException
- if the timeout expired without being able to determine statusCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.