}
void init() {
inserter = (BatchInserterImpl) BatchInserters.inserter(storeDir, config);
nodeStructFactory.init(inserter);
NeoStore neoStore = inserter.getNeoStore();
neoStore.getNodeStore().setHighId(nodesToCreate + 1);
final int processors = Runtime.getRuntime().availableProcessors();
executor = processors >=8 ? Executors.newFixedThreadPool(processors*2) : Executors.newCachedThreadPool();
disruptor = new Disruptor<NodeStruct>(nodeStructFactory, executor, new SingleThreadedClaimStrategy(ringSize), new YieldingWaitStrategy());
disruptor.handleExceptionsWith(new BatchInserterExceptionHandler());