/** * Sets the maximum amount of time, in seconds, metadata will be cached for. * * @param newDuration maximum amount of time, in seconds, metadata will be cached for * * @deprecated use {@link #setMaxRefreshDelay(long)} instead */ public void setMaxCacheDuration(int newDuration) { setMaxRefreshDelay(newDuration * 1000); }