Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 431 for Caching (0.03 sec)

  1. docs/features/caching.md

    Caching
    =======
    
    OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and
    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and 
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. mkdocs.yml

      - pymdownx.tabbed:
          alternate_style: true
      - tables
    
    plugins:
      - search
      - redirects:
          redirect_maps:
            # Redirect all feature pages to features/*
            'caching.md': 'features/caching.md'
            'calls.md': 'features/calls.md'
            'connections.md': 'features/connections.md'
            'events.md': 'features/events.md'
            'https.md': 'features/events.md'
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 21 07:19:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.Request;
    import org.apache.maven.api.services.Result;
    
    /**
     * Interface for caching request results in Maven. This cache implementation provides
     * methods for executing and optionally caching both single requests and batches of requests.
     * <p>
     * The cache behavior is determined by the cache retention specified in the request's metadata.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

    public class Smb2LeaseState {
    
        /**
         * No lease caching
         */
        public static final int SMB2_LEASE_NONE = 0x00;
    
        /**
         * Read caching lease (R)
         */
        public static final int SMB2_LEASE_READ_CACHING = 0x01;
    
        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     * under the License.
     */
    
    /**
     * Provides a caching infrastructure for Maven requests and their results.
     * <p>
     * This package contains the core components for implementing and managing caches in Maven:
     * <ul>
     *   <li>{@link org.apache.maven.api.cache.RequestCache} - The main interface for caching request results</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share flag indicating manual caching of documents.
         */
        public static final int SMB2_SHAREFLAG_MANUAL_CACHING = 0x0;
        /**
         * Share flag indicating automatic caching of documents.
         */
        public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10;
        /**
         * Share flag indicating automatic caching of programs and documents.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

            assertEquals(0x05, Smb2LeaseState.SMB2_LEASE_READ_WRITE);
            assertEquals(0x07, Smb2LeaseState.SMB2_LEASE_FULL);
        }
    
        @Test
        @DisplayName("Should detect read caching correctly")
        void testHasReadCaching() {
            assertTrue(Smb2LeaseState.hasReadCaching(Smb2LeaseState.SMB2_LEASE_READ_CACHING));
            assertTrue(Smb2LeaseState.hasReadCaching(Smb2LeaseState.SMB2_LEASE_READ_HANDLE));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

            // Should return true when read caching is enabled
            assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING));
            assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE));
            assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL));
    
            // Should return false when read caching is not enabled
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MapRetrievalCache.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link MapIteratorCache} that adds additional caching. In addition to the caching provided by
     * {@link MapIteratorCache}, this structure caches values for the two most recently retrieved keys.
     *
     * @author James Sexton
     */
    final class MapRetrievalCache<K, V> extends MapIteratorCache<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentCache.java

     * It implements the Closeable interface to ensure that resources are properly released.
     *
     * <p>This class supports two types of content caching:
     * <ul>
     *   <li>In-memory caching using a byte array</li>
     *   <li>File-based caching using a File object</li>
     * </ul>
     *
     * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top