question: terminates supplied instance by releasing internal resources . concode_field_sep TestNodeRegistry registry concode_elem_sep AtomicInteger nodeIndex concode_elem_sep boolean mockNetwork concode_elem_sep int count concode_elem_sep AtomicInteger PORTS concode_elem_sep ConcurrentMap<Integer,Address> addressMap concode_field_sep Address pickAddress concode_elem_sep Config init concode_elem_sep void initFactory concode_elem_sep void checkElementsNotNull concode_elem_sep TestNodeRegistry getRegistry concode_elem_sep Address createAddress concode_elem_sep List<Address> createAddresses concode_elem_sep List<Address> createAddresses concode_elem_sep void shutdownAll concode_elem_sep void terminateAll concode_elem_sep String toString concode_elem_sep HazelcastInstance getInstance concode_elem_sep Collection<Address> getKnownAddresses concode_elem_sep HazelcastInstance newHazelcastInstance concode_elem_sep HazelcastInstance newHazelcastInstance concode_elem_sep HazelcastInstance newHazelcastInstance concode_elem_sep HazelcastInstance newHazelcastInstance concode_elem_sep Collection<HazelcastInstance> getAllHazelcastInstances concode_elem_sep HazelcastInstance[] newInstances concode_elem_sep HazelcastInstance[] newInstances concode_elem_sep HazelcastInstance[] newInstances
target: void function ( HazelcastInstance arg0 ) { Address loc0 = getNode ( arg0 ) . loc0 ; terminateInstance ( arg0 ) ; registry . removeInstance ( loc0 ) ; }