Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getCycle (0.33 sec)

  1. maven-core/src/main/java/org/apache/maven/project/CycleDetectedException.java

        private final List<String> cycle;
    
        public CycleDetectedException(String message, List<String> cycle) {
            super(message);
            this.cycle = cycle;
        }
    
        public List<String> getCycle() {
            return cycle;
        }
    
        @Override
        public String getMessage() {
            return super.getMessage() + " " + String.join(" --> ", cycle);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. cmd/data-scanner-metric.go

    		return AccElem{}
    	}
    	val := p.actionsLatency[a].total()
    	return val
    }
    
    // setCycle updates the current cycle metrics.
    func (p *scannerMetrics) setCycle(c *currentScannerCycle) {
    	if c != nil {
    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            addEdge(graph2, "a", "b");
            addEdge(graph2, "b", "c");
            CycleDetectedException cde = assertThrows(CycleDetectedException.class, () -> addEdge(graph2, "c", "a"));
            List<String> cycle = cde.getCycle();
            assertNotNull(cycle, "Cycle should be not null");
            assertTrue(cycle.contains("a"), "Cycle contains 'a'");
            assertTrue(cycle.contains("b"), "Cycle contains 'b'");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

            private final List<String> cycle;
    
            CycleDetectedException(String message, List<String> cycle) {
                super(message);
                this.cycle = cycle;
            }
    
            public List<String> getCycle() {
                return cycle;
            }
    
            @Override
            public String getMessage() {
                return super.getMessage() + " " + String.join(" --> ", cycle);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            private final List<String> cycle;
    
            CycleDetectedException(String message, List<String> cycle) {
                super(message);
                this.cycle = cycle;
            }
    
            public List<String> getCycle() {
                return cycle;
            }
    
            @Override
            public String getMessage() {
                return super.getMessage() + " " + String.join(" --> ", cycle);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetector { private static final Integer NOT_VISTITED; private static...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  7. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetector { private static final Integer NOT_VISTITED; private static...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetector { private static final Integer NOT_VISTITED; private static...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetector { private static final Integer NOT_VISTITED; private static...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetector { private static final Integer NOT_VISTITED; private static...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
Back to top