@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = checkNotNull(nodeEngine, "nodeEngine can't be null"); this.serializationService = nodeEngine.getSerializationService(); this.partitionService = nodeEngine.getPartitionService(); this.quorumService = nodeEngine.getQuorumService(); }
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = checkNotNull(nodeEngine, "nodeEngine can't be null"); this.serializationService = nodeEngine.getSerializationService(); this.partitionService = nodeEngine.getPartitionService(); this.quorumService = nodeEngine.getQuorumService(); }
public MultiMapService(NodeEngine nodeEngine) { this.nodeEngine = nodeEngine; int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); this.partitionContainers = new MultiMapPartitionContainer[partitionCount]; this.dispatcher = new MultiMapEventsDispatcher(this, nodeEngine.getClusterService()); this.publisher = new MultiMapEventsPublisher(nodeEngine); this.quorumService = nodeEngine.getQuorumService(); }
public MultiMapService(NodeEngine nodeEngine) { this.nodeEngine = nodeEngine; int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); this.partitionContainers = new MultiMapPartitionContainer[partitionCount]; this.dispatcher = new MultiMapEventsDispatcher(this, nodeEngine.getClusterService()); this.publisher = new MultiMapEventsPublisher(nodeEngine); this.quorumService = nodeEngine.getQuorumService(); }
public ReplicatedMapService(NodeEngine nodeEngine) { this.nodeEngine = nodeEngine; this.config = nodeEngine.getConfig(); this.partitionService = (InternalPartitionServiceImpl) nodeEngine.getPartitionService(); this.clusterService = nodeEngine.getClusterService(); this.operationService = nodeEngine.getOperationService(); this.partitionContainers = new PartitionContainer[nodeEngine.getPartitionService().getPartitionCount()]; this.eventPublishingService = new ReplicatedMapEventPublishingService(this); this.splitBrainHandlerService = new ReplicatedMapSplitBrainHandlerService(this); this.quorumService = nodeEngine.getQuorumService(); this.mergePolicyProvider = new MergePolicyProvider(nodeEngine); }
public ReplicatedMapService(NodeEngine nodeEngine) { this.nodeEngine = nodeEngine; this.config = nodeEngine.getConfig(); this.partitionService = (InternalPartitionServiceImpl) nodeEngine.getPartitionService(); this.clusterService = nodeEngine.getClusterService(); this.operationService = nodeEngine.getOperationService(); this.partitionContainers = new PartitionContainer[nodeEngine.getPartitionService().getPartitionCount()]; this.eventPublishingService = new ReplicatedMapEventPublishingService(this); this.splitBrainHandlerService = new ReplicatedMapSplitBrainHandlerService(this); this.quorumService = nodeEngine.getQuorumService(); this.mergePolicyProvider = new MergePolicyProvider(nodeEngine); }