public void sampleIndexes( IndexSamplingMode mode ) { IndexMap indexMap = indexMapSnapshotProvider.indexMapSnapshot(); jobQueue.addAll( !mode.sampleOnlyIfUpdated, PrimitiveLongCollections.toIterator( indexMap.indexIds() ) ); scheduleSampling( mode, indexMap ); }
public void sampleIndexes( IndexSamplingMode mode ) { IndexMap indexMap = indexMapSnapshotProvider.indexMapSnapshot(); jobQueue.addAll( !mode.sampleOnlyIfUpdated, PrimitiveLongCollections.toIterator( indexMap.indexIds() ) ); scheduleSampling( mode, indexMap ); }