Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for CacheRecord (2.02 sec)

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

    public interface PluginRealmCache {
        /**
         * CacheRecord
         */
        class CacheRecord {
            public ClassRealm getRealm() {
                return realm;
            }
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
    
            private final ClassRealm realm;
    
            private final List<Artifact> artifacts;
    
            public CacheRecord(ClassRealm realm, List<Artifact> artifacts) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/EmptyProjectBuildingHelper.java

            } else {
                return new ArrayList<>();
            }
        }
    
        public ProjectRealmCache.CacheRecord createProjectRealm(
                MavenProject project, Model model, ProjectBuildingRequest request) {
            return new ProjectRealmCache.CacheRecord(null, null);
        }
    
        public void selectProjectRealm(MavenProject project) {}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go

    )
    
    var errAuthnCrash = apierrors.NewInternalError(errors.New("authentication failed unexpectedly"))
    
    const sharedLookupTimeout = 30 * time.Second
    
    // cacheRecord holds the three return values of the authenticator.Token AuthenticateToken method
    type cacheRecord struct {
    	resp *authenticator.Response
    	ok   bool
    	err  error
    
    	// this cache assumes token authn has no side-effects or temporal dependence.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                pluginDescriptor.setArtifacts(new ArrayList<>(cacheRecord.getArtifacts()));
                for (ComponentDescriptor<?> componentDescriptor : pluginDescriptor.getComponents()) {
                    componentDescriptor.setRealm(cacheRecord.getRealm());
                }
    
                pluginRealmCache.register(project, cacheKey, cacheRecord);
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

            }
    
            artifactRepositories = repositorySystem.getEffectiveRepositories(artifactRepositories);
    
            return artifactRepositories;
        }
    
        public synchronized ProjectRealmCache.CacheRecord createProjectRealm(
                MavenProject project, Model model, ProjectBuildingRequest request)
                throws PluginResolutionException, PluginVersionResolutionException, PluginManagerException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java

                                e);
            }
            project.setPluginArtifactRepositories(pluginRepositories);
    
            if (event.request().isProcessPlugins()) {
                try {
                    ProjectRealmCache.CacheRecord record =
                            projectBuildingHelper.createProjectRealm(project, model, projectBuildingRequest);
    
                    project.setClassRealm(record.getRealm());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingHelper.java

         * @return The record with the project realm and extension artifact filter, never {@code null}.
         * @throws PluginResolutionException If any build extension could not be resolved.
         */
        ProjectRealmCache.CacheRecord createProjectRealm(MavenProject project, Model model, ProjectBuildingRequest request)
                throws PluginResolutionException, PluginVersionResolutionException, PluginManagerException;
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	tokenCount int
    	// pre-computed response for a token
    	tokenToResponse map[string]*cacheRecord
    	// include audiences for some
    	tokenToAuds map[string]authenticator.Audiences
    	// a list makes it easy to select a random one
    	tokens []string
    }
    
    func (s *singleBenchmark) makeTokens() {
    	s.tokenToResponse = map[string]*cacheRecord{}
    	s.tokenToAuds = map[string]authenticator.Audiences{}
    	s.tokens = []string{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

        /**
         * Sets up class realm for the specified build extensions plugin.
         *
         * @since 3.3.0
         */
        ExtensionRealmCache.CacheRecord setupExtensionsRealm(
                MavenProject project, Plugin plugin, RepositorySystemSession session) throws PluginManagerException;
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. 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) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top