public synchronized void setMaxSize(long maxSize) {
    this.maxSize = maxSize;
    executorService.submit(cleanupCallable);
  }
Changes the maximum number of bytes the cache can store and queues a job
to trim the existing store, if necessary.
core/src/main/java/com/bumptech/glide/disklrucache/DiskLruCache.java