algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
public void setDelayBetweenSyncs(long duration, @NonNull TimeUnit unit) {
        this.setDelayBetweenSyncs(TimeUnit.MILLISECONDS.convert(duration, unit));
    }
public void setDelayBetweenSyncs(long duration, @NonNull TimeUnit unit) {
        this.setDelayBetweenSyncs(TimeUnit.MILLISECONDS.convert(duration, unit));
    }
public void setDelayBetweenSyncs ( long duration , @ NonNull TimeUnit unit ) { this . setDelayBetweenSyncs ( TimeUnit . MILLISECONDS . convert ( duration , unit ) ) ; }
Set the delay after which data is considered to be obsolete.
@param duration The delay between syncs, expressed in <code>unit</code>.
@param unit The unit in which <code>duration</code> is expressed.
Set the delay after which data is considered to be obsolete .