Module org.jooq
Package org.jooq

Interface CacheContext

All Superinterfaces:

public interface CacheContext extends Scope
The parameter object passed to the CacheProvider.provide(CacheContext) method.

This Scope is very short lived, for the duration of a cache implementation lookup of one of the various internal CacheType caches.

It does not live in the context of a parent Scope, and as such, does not have access to any from another Scope.

Lukas Eder
  • Method Details

    • cacheType

      CacheType cacheType()
      The cache type for which a cache should be provided.