Package com.inrupt.client.spi
Interface CacheBuilderService
public interface CacheBuilderService
A cache builder abstraction for use with different cache implementations.
-
Method Summary
-
Method Details
-
build
Build a cache.- Type Parameters:
T- the key typeU- the value type- Parameters:
maximumSize- the maximum cache sizeexpiration- the duration after which items should expire from the cache- Returns:
- the cache
-