code: public static Collection<HazelcastInstance> getAllHazelcastClients() {
          Collection<HazelcastClientProxy> values = CLIENTS.values();
          return Collections.unmodifiableCollection(new HashSet<HazelcastInstance>(values));
      }
docs: Gets an immutable collection of all client HazelcastInstances created in this JVM.
  <p/>
  In managed environments such as Java EE or OSGi Hazelcast can be loaded by multiple classloaders. Typically you will get
  at least one classloader per every application deployed. In these cases only the client HazelcastInstances created
  by the same application will be seen, and instances created by different applications are invisible.
  <p/>
  The returned collection is a snapshot of the client HazelcastInstances. So changes to the client HazelcastInstances
  will not be visible in this collection.
  
  @return the collection of client HazelcastInstances