OrientBaseGraph graphPool = new OrientGraph(url);
graphPool.setThreadMode(OrientBaseGraph.THREAD_MODE.ALWAYS_AUTOSET);
OrientVertex superNode = graphPool.addVertex(null, "pessimisticSuperNode", true);
graphPool.commit();
PessimisticThread[] ops = new PessimisticThread[THREADS];
for (int i = 0; i < THREADS; ++i)
ops[i] = new PessimisticThread(url, superNode, i, "thread" + i);