Source:
<code><START> public static RequestHandlerPool getRequestHandlerPool(VerifiableProperties verifiableProperties, <END> ClusterMap clusterMap, NotificationSystem notificationSystem) throws Exception { ClusterMapConfig clusterMapConfig = new ClusterMapConfig(verifiableProperties); CloudConfig cloudConfig = new CloudConfig(verifiableProperties); ServerConfig serverConfig = new ServerConfig(verifiableProperties); StoreConfig storeConfig = new StoreConfig(verifiableProperties); MetricRegistry registry = clusterMap.getMetricRegistry(); DataNodeId nodeId = new CloudDataNode(cloudConfig, clusterMapConfig); CloudDestinationFactory cloudDestinationFactory = Utils.getObj(cloudConfig.cloudDestinationFactoryClass, verifiableProperties, registry); CloudDestination cloudDestination = cloudDestinationFactory.getCloudDestination(); VcrMetrics vcrMetrics = new VcrMetrics(registry); StoreManager cloudStorageManager = new CloudStorageManager(verifiableProperties, vcrMetrics, cloudDestination, clusterMap); LocalRequestResponseChannel channel = new LocalRequestResponseChannel(); ServerMetrics serverMetrics = new ServerMetrics(registry, AmbryRequests.class); StoreKeyFactory storeKeyFactory = Utils.getObj(storeConfig.storeKeyFactory, clusterMap); StoreKeyConverterFactory storeKeyConverterFactory = Utils.getObj(serverConfig.serverStoreKeyConverterFactory, verifiableProperties, registry); AmbryRequests requests = new AmbryRequests(cloudStorageManager, channel, clusterMap, nodeId, registry, serverMetrics, null, notificationSystem, null, storeKeyFactory, serverConfig.serverEnableStoreDataPrefetch, storeKeyConverterFactory); return new RequestHandlerPool(serverConfig.serverRequestHandlerNumOfThreads, channel, requests); }</code><technical_language>do need this public static</technical_language>

Target:
static RequestHandlerPool getRequestHandlerPool(VerifiableProperties verifiableProperties, ClusterMap clusterMap, NotificationSystem notificationSystem) throws Exception { ClusterMapConfig clusterMapConfig = new ClusterMapConfig(verifiableProperties); CloudConfig cloudConfig = new CloudConfig(verifiableProperties); ServerConfig serverConfig = new ServerConfig(verifiableProperties); MetricRegistry registry = clusterMap.getMetricRegistry(); DataNodeId nodeId = new CloudDataNode(cloudConfig, clusterMapConfig); CloudDestinationFactory cloudDestinationFactory = Utils.getObj(cloudConfig.cloudDestinationFactoryClass, verifiableProperties, registry); CloudDestination cloudDestination = cloudDestinationFactory.getCloudDestination(); VcrMetrics vcrMetrics = new VcrMetrics(registry); StoreManager cloudStorageManager = new CloudStorageManager(verifiableProperties, vcrMetrics, cloudDestination, clusterMap); LocalRequestResponseChannel channel = new LocalRequestResponseChannel(); ServerMetrics serverMetrics = new ServerMetrics(registry, AmbryRequests.class); StoreKeyFactory storeKeyFactory = new BlobIdFactory(clusterMap); StoreKeyConverterFactory storeKeyConverterFactory = Utils.getObj(serverConfig.serverStoreKeyConverterFactory, verifiableProperties, registry); AmbryRequests requests = new AmbryRequests(cloudStorageManager, channel, clusterMap, nodeId, registry, serverMetrics, null, notificationSystem, null, storeKeyFactory, serverConfig.serverEnableStoreDataPrefetch, storeKeyConverterFactory); return new RequestHandlerPool(serverConfig.serverRequestHandlerNumOfThreads, channel, requests); }