Refine search
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = nodeEngine; containers = new Container[nodeEngine.getPartitionService().getPartitionCount()]; for (int i = 0; i < containers.length; i++) { containers[i] = new Container(); } }
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = nodeEngine; containers = new Container[nodeEngine.getPartitionService().getPartitionCount()]; for (int i = 0; i < containers.length; i++) { containers[i] = new Container(); } }
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = nodeEngine; containers = new Container[nodeEngine.getPartitionService().getPartitionCount()]; for (int i = 0; i < containers.length; i++) { containers[i] = new Container(); } }
private int getPartitionCount(NodeEngine nodeEngine) { return nodeEngine.getPartitionService().getPartitionCount(); } }
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = nodeEngine; containers = new Container[nodeEngine.getPartitionService().getPartitionCount()]; for (int i = 0; i < containers.length; i++) { containers[i] = new Container(); } }
DurableExecutorServiceProxy(NodeEngine nodeEngine, DistributedDurableExecutorService service, String name) { super(nodeEngine, service); this.name = name; this.logger = nodeEngine.getLogger(DurableExecutorServiceProxy.class); this.partitionCount = nodeEngine.getPartitionService().getPartitionCount(); }
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = nodeEngine; int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); partitions = new Partition[partitionCount]; for (int i = 0; i < partitionCount; i++) { partitions[i] = new Partition(); } }
private BitSet toPartitionBitSet() { BitSet bitSet = new BitSet(getNodeEngine().getPartitionService().getPartitionCount()); for (int partition : partitions) { bitSet.set(partition); } return bitSet; }
private void fireMapDataLoadingTasks() { for (int i = 0; i < nodeEngine.getPartitionService().getPartitionCount(); i++) { requestDataForPartition(i); } }
private BitSet toPartitionBitSet() { BitSet bitSet = new BitSet(getNodeEngine().getPartitionService().getPartitionCount()); for (int partition : partitions) { bitSet.set(partition); } return bitSet; }
@Override public void init(NodeEngine nodeEngine, Properties properties) { int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); this.nodeEngine = nodeEngine; this.partitions = new ScheduledExecutorPartition[partitionCount]; reset(); }
@Override public void init(NodeEngine nodeEngine, Properties properties) { int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); this.nodeEngine = nodeEngine; this.partitions = new ScheduledExecutorPartition[partitionCount]; reset(); }
@Override public void init(NodeEngine nodeEngine, Properties properties) { this.nodeEngine = nodeEngine; int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); partitions = new Partition[partitionCount]; for (int i = 0; i < partitionCount; i++) { partitions[i] = new Partition(); } }
private void fireMapDataLoadingTasks() { for (int i = 0; i < nodeEngine.getPartitionService().getPartitionCount(); i++) { requestDataForPartition(i); } }
@Override public void reset() { for (int i = 0; i < nodeEngine.getPartitionService().getPartitionCount(); i++) { ConcurrentMap<String, ReplicatedRecordStore> stores = partitionContainers[i].getStores(); for (ReplicatedRecordStore store : stores.values()) { store.reset(); } } }
@Override public void reset() { for (int i = 0; i < nodeEngine.getPartitionService().getPartitionCount(); i++) { ConcurrentMap<String, ReplicatedRecordStore> stores = partitionContainers[i].getStores(); for (ReplicatedRecordStore store : stores.values()) { store.reset(); } } }
public ExecutorServiceProxy(String name, NodeEngine nodeEngine, DistributedExecutorService service) { super(nodeEngine, service); this.name = name; this.partitionCount = nodeEngine.getPartitionService().getPartitionCount(); this.logger = nodeEngine.getLogger(ExecutorServiceProxy.class); getLocalExecutorStats(); }
@Override public void initPartitionsContainers() { final int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); for (int i = 0; i < partitionCount; i++) { partitionContainers[i] = createPartitionContainer(getService(), i); } }
public ExecutorServiceProxy(String name, NodeEngine nodeEngine, DistributedExecutorService service) { super(nodeEngine, service); this.name = name; this.partitionCount = nodeEngine.getPartitionService().getPartitionCount(); this.logger = nodeEngine.getLogger(ExecutorServiceProxy.class); getLocalExecutorStats(); }
@Override public void initPartitionsContainers() { final int partitionCount = nodeEngine.getPartitionService().getPartitionCount(); for (int i = 0; i < partitionCount; i++) { partitionContainers[i] = createPartitionContainer(getService(), i); } }