code: public ResourcePoolsBuilder disk(long size, MemoryUnit unit, boolean persistent) {
      return with(ResourceType.Core.DISK, size, unit, persistent);
    }
docs: Convenience method to add a {@link org.ehcache.config.ResourceType.Core#DISK disk} pool specifying persistence.
  
  @param size the pool size
  @param unit the pool size unit
  @param persistent if the pool is persistent or not
  @return a new builder with the added pool
  
  @throws IllegalArgumentException if the set of resource pools already contains a disk resource