/** * Returns the maximum number of bytes that this cache should use to store its data. */ public long maxSize() { return delegate.maxSize(); }
public boolean isEquivalent(File directory, long maxSize) { Cache installedCache = getCache(); return (installedCache.directory().equals(directory) && installedCache.maxSize() == maxSize && !installedCache.isClosed()); }
private long maxSize() { return client.cache().maxSize(); }
/** * Returns the maximum number of bytes that this cache should use to store its data. */ public long maxSize() { return delegate.maxSize(); }
public boolean isEquivalent(File directory, long maxSize) { Cache installedCache = getCache(); return (installedCache.directory().equals(directory) && installedCache.maxSize() == maxSize && !installedCache.isClosed()); }