code: public Builder<T> useSerializerInDisk(
          int maxDiskSizeBytes, File diskCacheFolder, CacheSerializer<T> serializer
      ) {
          this.diskFolder = diskCacheFolder;
          this.diskMode = DualCacheDiskMode.ENABLE_WITH_SPECIFIC_SERIALIZER;
          this.maxDiskSizeBytes = maxDiskSizeBytes;
          this.diskSerializer = serializer;
          return this;
      }
docs: Use custom serialization/deserialization to store and retrieve object from disk cache.
  
  @param maxDiskSizeBytes is the max size of disk in bytes which an be used by the disk cache
  layer.
  @param diskCacheFolder  is the folder where the disk cache will be stored.
  @param serializer       provides serialization/deserialization methods for the disk cache
  layer.
  @return the builder.