public interface GracefulShutdownAwareService
Modifier and Type | Method and Description |
---|---|
boolean |
onShutdown(long timeout,
TimeUnit unit)
A hook method that's called during graceful shutdown to provide safety for data managed by this service.
|
boolean onShutdown(long timeout, TimeUnit unit)
timeout
- timeout for graceful shutdownunit
- time unitCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.