creates a new hazelcastinstance a new node in a cluster . this method allows you to create and run multiple instances of hazelcast cluster members on the same jvm . to shutdown all running hazelcastinstances all members on this jvm call #shutdownall . hazelcast will look into two places for the configuration file : system property : hazelcast will first check if `` hazelcast.config '' system property is set to a file path . example : - dhazelcast.config = c : / myhazelcast.xml . classpath : if config file is not set as a system property , hazelcast will check classpath for hazelcast.xml file . if hazelcast does n't find any config file , it will start with the default configuration hazelcast-default . xml located in hazelcast.jar . concode_field_sep PlaceHolder placeHolder concode_field_sep void shutdownAll concode_elem_sep HazelcastInstance getHazelcastInstanceByName concode_elem_sep HazelcastInstance getOrCreateHazelcastInstance concode_elem_sep void setOutOfMemoryHandler concode_elem_sep Set<HazelcastInstance> getAllHazelcastInstances
HazelcastInstance function ( ) { return HazelcastInstanceFactory . newHazelcastInstance ( null ) ; }