- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 211 for Cached (0.06 seconds)
-
internal/cachevalue/cache.go
func New[T any]() *Cache[T] { return &Cache[T]{} } // NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use. func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
* for this session, the result will be cached and subsequent identical requests will return the cached * value without re-executing the supplier. * <p> * The caching behavior is determined by the cache retention specified in the request's metadata. * If an error occurs during execution, it will be cached and re-thrown for subsequent identical requests. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* When an instance is created with a File object, the content is cached in the specified file. * * <p>The {@code close()} method deletes the file if the content is cached in a file. * * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 4.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
/** The property name for maximum cached content size. */ public static final String MAX_CACHED_CONTENT_SIZE = "maxCachedContentSize"; /** The crawler container. */ @Resource protected CrawlerContainer crawlerContainer; /** The initialization parameter map. */ protected Map<String, Object> initParamMap; /** The maximum cached content size in bytes. Default is 1MB. */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 9.7K bytes - Click Count (10) -
android/guava/src/com/google/common/cache/Cache.java
long size(); /** * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if * the cache is not recording statistics. All statistics begin at zero and never decrease over the * lifetime of the cache. * * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java
// ============== /** * Retrieves and displays cached content for a specific document. * * @param form the cache form containing document ID and highlight query * @return ActionResponse containing the cached document content or error redirect */ @Execute public ActionResponse index(final CacheForm form) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem) client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.cache; import org.apache.maven.api.annotations.Experimental; /** * Enumeration defining different retention periods for cached data. * Each value represents a specific scope and lifetime for cached items. * * @since 4.0.0 */ @Experimental public enum CacheRetention { /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Next get should return the same instance from cache byte[] reused = impl.getBuffer(); assertSame(b, reused, "Buffer should be reused from cache"); // And it should still be zeroed for (byte value : reused) { assertEquals(0, value, "Reused buffer must be zeroed"); } } // Edge: cache size 0 means nothing is cached; release still zeroes argument @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/features/calls.md
Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires headers like `If-Modified-Since` and `If-None-Match` to be added. ## Rewriting Responses
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Click Count (0)