weixin_39726044 2020-11-30 14:00
浏览 0

add pre-shutdown action to be executed inside ChronicleHashCloseOnExitHook

This is useful when we want to do an orderly shutdown. For example: When jvm needs to shutdown, we may need to do few more CRUD operations on the ChronicleMap/ChronicleSet. Closing these a using shutdown hook doesn't allow graceful shutdown where a user can control when the map can be closed.

该提问来源于开源项目:OpenHFT/Chronicle-Map

  • 写回答

5条回答 默认 最新

  • weixin_39726044 2020-11-30 14:00
    关注

    The commit in this pull request includes the changes from this https://github.com/OpenHFT/Chronicle-Map/pull/158. I wanted to keep the changes separate in two pull requests so that the review process is easier.

    评论

报告相同问题?