[jOOQ/jOOQ#13496] Specify CacheContext lifecycle in Javadoc

This commit is contained in:
Lukas Eder 2022-04-27 10:44:41 +02:00
parent fb61cdbc3d
commit 80ff2e3444
4 changed files with 10 additions and 1 deletions

View File

@ -42,6 +42,13 @@ import org.jooq.impl.CacheType;
/**
* The parameter object passed to the
* {@link CacheProvider#provide(CacheContext)} method.
* <p>
* This {@link Scope} is very short lived, for the duration of a cache
* implementation lookup of one of the various internal {@link CacheType}
* caches.
* <p>
* It does not live in the context of a parent {@link Scope}, and as such, does
* not have access to any {@link #data()} from another {@link Scope}.
*
* @author Lukas Eder
*/

View File

@ -41,6 +41,8 @@ import java.util.Collections;
import java.util.Map;
import java.util.concurrent.ConcurrentMap;
import org.jooq.impl.CacheType;
import org.jetbrains.annotations.Nullable;
/**

View File

@ -105,6 +105,7 @@ import org.jooq.exception.InvalidResultException;
import org.jooq.exception.MappingException;
import org.jooq.exception.NoDataFoundException;
import org.jooq.exception.TooManyRowsException;
import org.jooq.impl.CacheType;
import org.jooq.impl.DSL;
import org.jooq.impl.ParserException;
import org.jooq.impl.ThreadLocalTransactionProvider;

View File

@ -38,7 +38,6 @@
package org.jooq.impl;
import org.jooq.CacheContext;
import org.jooq.impl.CacheType;
import org.jooq.Configuration;
/**