Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 34 for cacheGet (0.03 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<File> files;
    
            private final List<Long> timestamps;
    
            private final List<Long> sizes;
    
            private final List<String> ids;
    
            private final int hashCode;
    
            public CacheKey(List<Artifact> extensionArtifacts) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

    import org.eclipse.aether.repository.WorkspaceRepository;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultProjectArtifactsCache implements ProjectArtifactsCache {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final String groupId;
    
            private final String artifactId;
    
            private final String version;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            ProjectArtifactsCache.Key cacheKey = projectArtifactsCache.createKey(
                    project, scopesToCollect, scopesToResolve, aggregating, session.getRepositorySession());
    
            ProjectArtifactsCache.CacheRecord recordArtifacts;
            recordArtifacts = projectArtifactsCache.get(cacheKey);
            if (recordArtifacts == null) {
                synchronized (cacheKey) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
                if (key > 0) {
                  return key + ", " + cacheRef.get().getUnchecked(key - 1);
                } else {
                  return "0";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      override fun satisfactionFailure(
        call: Call,
        response: Response,
      ) {
        logWithTime("satisfactionFailure: $response")
      }
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) {
        logWithTime("cacheHit: $response")
      }
    
      override fun cacheMiss(call: Call) {
        logWithTime("cacheMiss")
      }
    
      override fun cacheConditionalHit(
        call: Call,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

      ) = onEvent(SatisfactionFailure(System.nanoTime(), call))
    
      override fun cacheMiss(call: Call) = onEvent(CacheMiss(System.nanoTime(), call))
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) = onEvent(CacheHit(System.nanoTime(), call))
    
      override fun cacheConditionalHit(
        call: Call,
        cachedResponse: Response,
      ) = onEvent(CacheConditionalHit(System.nanoTime(), call))
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record record) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      ) {
        logWithTime("satisfactionFailure")
      }
    
      override fun cacheMiss(call: Call) {
        logWithTime("cacheMiss")
      }
    
      override fun cacheHit(
        call: Call,
        response: Response,
      ) {
        logWithTime("cacheHit")
      }
    
      override fun cacheConditionalHit(
        call: Call,
        cachedResponse: Response,
      ) {
        logWithTime("cacheConditionalHit")
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    recordArtifacts = pluginArtifactsCache.put(cacheKey, artifacts);
                } catch (PluginResolutionException e) {
                    pluginArtifactsCache.put(cacheKey, e);
                    pluginArtifactsCache.register(project, cacheKey, recordArtifacts);
                    throw new PluginManagerException(plugin, e.getMessage(), e);
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import kotlin.reflect.KClass
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Cache
    import okhttp3.CallEvent
    import okhttp3.CallEvent.CacheHit
    import okhttp3.CallEvent.CacheMiss
    import okhttp3.Dns
    import okhttp3.EventRecorder
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top