public interface JoynrShutdownService
prepareForShutdown() in order to give joynr a chance to finish processing
messages and stop receiving any more incoming messages. This call will block until either the preparation is
complete, or a timeout occurs. See the joynr Java settings guide for details on how to configure the timeout.
Once you've made the prepareForShutdown call, you will not be able to send any more requests which require state
to be held by joynr (e.g. method calls via a Sync interface). You will be able to still perform calls for
stateless async and fire-and-forget methods, as these do not require any state to be held by the runtime.
Thereafter you can call shutdown() in order to tell the joynr runtime to close and free all resources
and perform any necessary clean-up on its part.| Modifier and Type | Method and Description |
|---|---|
void |
prepareForShutdown()
Call this method to cause the joynr runtime to prepare for shutdown and perform initial clean-up.
|
void |
shutdown()
This call will completely shut down the joynr runtime and free up any and all resources it holds.
|
void prepareForShutdown()
void shutdown()
Copyright © 2019. All rights reserved.