public class DefaultPrecondition extends Object implements Precondition
Constructor and Description |
---|
DefaultPrecondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(long pkgOffset,
int timeoutSeconds)
Checks if a package can be processed
|
public boolean canProcess(long pkgOffset, int timeoutSeconds)
Precondition
canProcess
in interface Precondition
pkgOffset
- the offset of the packagetimeoutSeconds
- max seconds to wait until returningCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.