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