Class CacheConfiguration

java.lang.Object
org.apache.jena.geosparql.implementation.index.CacheConfiguration

public class CacheConfiguration extends Object
  • Field Details

  • Method Details

    • create

      public static <K, V> org.apache.jena.atlas.lib.Cache<K,V> create(long maxSize, long expiryMilliseconds)
      Creates a cache
      Parameters:
      maxSize - Maximum size, use 0 to disable caching, or -1 to have an unlimited cache size
      expiryMilliseconds - Expiry duration in milliseconds, entries which have not been accessed within this interval will be automatically expired from the cache