Class CacheDataSource

  • All Implemented Interfaces:
    DataReader, DataSource

    public final class CacheDataSource
    extends Object
    implements DataSource
    A DataSource that reads and writes a Cache. Requests are fulfilled from the cache when possible. When data is not cached it is requested from an upstream DataSource and written into the cache.