use of org.apache.hyracks.control.nc.dataset.DatasetPartitionManager in project asterixdb by apache.
the class NodeControllerService method init.
private void init() throws Exception {
ioManager.setExecutor(executor);
datasetPartitionManager = new DatasetPartitionManager(this, executor, ncConfig.getResultManagerMemory(), ncConfig.getResultTTL(), ncConfig.getResultSweepThreshold());
datasetNetworkManager = new DatasetNetworkManager(ncConfig.getResultListenAddress(), ncConfig.getResultListenPort(), datasetPartitionManager, ncConfig.getNetThreadCount(), ncConfig.getNetBufferCount(), ncConfig.getResultPublicAddress(), ncConfig.getResultPublicPort(), FullFrameChannelInterfaceFactory.INSTANCE);
if (ncConfig.getMessagingListenAddress() != null && serviceCtx.getMessagingChannelInterfaceFactory() != null) {
messagingNetManager = new MessagingNetworkManager(this, ncConfig.getMessagingListenAddress(), ncConfig.getMessagingListenPort(), ncConfig.getNetThreadCount(), ncConfig.getMessagingPublicAddress(), ncConfig.getMessagingPublicPort(), serviceCtx.getMessagingChannelInterfaceFactory());
}
}
Aggregations