Put the waiting mechanism for the hazelcast at the first place.
Add a class to get distributed maps such as the system metadata map.