Code example for Set

Methods: iterator

0
        return mergeStats;
    } 
 
    @Override 
    public Set<OnGoingMerge> onGoingMerges() {
        for (CustomConcurrentMergeScheduler scheduler : schedulers) {
            return scheduler.onGoingMerges();
        } 
        return ImmutableSet.of(); 
    } 
 
    @Override 
    public void close() { 
        indexSettingsService.removeListener(applySettings);
    } 
 
    public int getMaxMerges() { 
        return this.maxMergeCount;
    }