void function ( ) { metricRegistry = new MetricRegistry ( ) ; createNewRegistry = false ; }
create a metricregistry and ensure that this is the one that is returned by #getmetricregistry concode_field_sep Map<Long,PartitionId> partitions concode_elem_sep List<MockDataNodeId> dataNodes concode_elem_sep int numMountPointsPerNode concode_elem_sep boolean partitionsUnavailable concode_elem_sep int numStoresPerMountPoint concode_elem_sep boolean createNewRegistry concode_elem_sep boolean enableSSLPorts concode_elem_sep HashSet<String> dataCentersInClusterMap concode_elem_sep MetricRegistry metricRegistry concode_field_sep List<DataNodeId> getDataNodeIds concode_elem_sep List<PartitionId> getWritablePartitionIds concode_elem_sep List<MockDataNodeId> getDataNodes concode_elem_sep void onReplicaEvent concode_elem_sep ArrayList<Port> getListOfPorts concode_elem_sep ArrayList<Port> getListOfPorts concode_elem_sep List<PartitionId> getAllPartitionIds concode_elem_sep List<ReplicaId> getReplicaIds concode_elem_sep MockDataNodeId createDataNode concode_elem_sep DataNodeId getDataNodeId concode_elem_sep void cleanup concode_elem_sep PartitionId getPartitionIdFromStream concode_elem_sep boolean hasDatacenter concode_elem_sep MetricRegistry getMetricRegistry concode_elem_sep boolean deleteFileOrDirectory concode_elem_sep void markAllPartitionsUnavailable concode_elem_sep int getPlainTextPort concode_elem_sep void close