public MissingLastRevSeeker createMissingLastRevSeeker() { final DocumentStore store = getDocumentStore(); if (store instanceof RDBDocumentStore) { return new RDBMissingLastRevSeeker((RDBDocumentStore) store, getClock()); } else { return super.createMissingLastRevSeeker(); } } }
@Before public void before() throws Exception { clock = new Clock.Virtual(); clock.waitUntil(System.currentTimeMillis()); Revision.setClock(clock); ClusterNodeInfo.setClock(clock); store = ds; if (dsf == DocumentStoreFixture.MONGO) { seeker = new MongoMissingLastRevSeeker((MongoDocumentStore) store, clock); } else if (store instanceof RDBDocumentStore) { seeker = new RDBMissingLastRevSeeker((RDBDocumentStore) store, clock); } else { seeker = new MissingLastRevSeeker(store, clock); } removeMeClusterNodes.add("1"); removeMeClusterNodes.add("2"); }
MissingLastRevSeeker seeker = new RDBMissingLastRevSeeker((RDBDocumentStore) ds, Clock.SIMPLE); for (NodeDocument doc : seeker.getCandidates(0)) { if (!updated) {