get a file from the cluster config directory . create it by copying a template from the classpath if it does n't exist . concode_field_sep String CONFIG_DIRECTORY concode_elem_sep ClusterConfigWatcher watcher concode_elem_sep HazelcastInstance hz concode_elem_sep String HAZELCAST_FILENAME concode_elem_sep Logger LOGGER concode_elem_sep Catalog rawCatalog concode_elem_sep ResourceStore rl concode_elem_sep String CONFIG_FILENAME concode_elem_sep HzCluster CLUSTER concode_field_sep void setResourceStore concode_elem_sep Catalog getRawCatalog concode_elem_sep ClusterConfig getClusterConfig concode_elem_sep ClusterConfigWatcher loadConfig concode_elem_sep Optional<HzCluster> getInstanceIfAvailable concode_elem_sep void destroy concode_elem_sep Config loadHazelcastConfig concode_elem_sep boolean isSessionSharing concode_elem_sep int getAckTimeoutMillis concode_elem_sep HazelcastInstance getHz concode_elem_sep boolean isRunning concode_elem_sep void afterPropertiesSet concode_elem_sep boolean isEnabled concode_elem_sep void setRawCatalog concode_elem_sep boolean isStickySession concode_elem_sep ClusterConfigWatcher getConfigWatcher
Resource function ( String arg0 , Class < ? > arg1 ) { Resource loc0 = rl . get ( CONFIG_DIRECTORY ) ; Resource loc1 = loc0 . get ( arg0 ) ; if ( ! Resources . exists ( loc1 ) ) { IOUtils . copy ( arg1 . getResourceAsStream ( arg0 ) , loc1 . out ( ) ) ; } return loc1 ; }