public interface MainShutdownStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
await()
Wait for main to complete.
|
void |
await(long timeout,
TimeUnit unit)
Wait for main to complete.
|
boolean |
isRunAllowed() |
boolean |
shutdown() |
boolean isRunAllowed()
boolean shutdown()
void await()
throws InterruptedException
InterruptedExceptionvoid await(long timeout,
TimeUnit unit)
throws InterruptedException
timeout - the maximum time to waitunit - the time unit of the timeout argumentInterruptedExceptionApache Camel