use of org.voltdb.iv2.SpInitiator in project voltdb by VoltDB.
the class RealVoltDB method createIv2Initiators.
private TreeMap<Integer, Initiator> createIv2Initiators(Collection<Integer> partitions, StartAction startAction, List<Integer> m_partitionsToSitesAtStartupForExportInit) {
TreeMap<Integer, Initiator> initiators = new TreeMap<>();
for (Integer partition : partitions) {
Initiator initiator = new SpInitiator(m_messenger, partition, getStatsAgent(), m_snapshotCompletionMonitor, startAction);
initiators.put(partition, initiator);
m_partitionsToSitesAtStartupForExportInit.add(partition);
}
return initiators;
}
Aggregations