Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for Resuming (0.16 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.List;
    
    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/measurement.go

    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    	bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0)
    
    	if m.expMovingAvg == 0 {
    		// Should address initial calculation and should be fine for resuming from 0
    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

         * @param result Outcome of the current Maven build.
         * @return A {@link BuildResumptionData} instance or {@link Optional#empty()} if resuming the build is not possible.
         */
        Optional<BuildResumptionData> determineBuildResumptionData(MavenExecutionResult result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

                    .collect(Collectors.toList());
    
            if (remainingProjects.isEmpty()) {
                LOGGER.info("No remaining projects found, resuming the build would not make sense.");
                return Optional.empty();
            }
    
            return Optional.of(new BuildResumptionData(remainingProjects));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

              message.startsWith("Produced ") -> Type.Handshake
              message.startsWith("Negotiated ") -> Type.Handshake
              message.startsWith("Found resumable session") -> Type.Handshake
              message.startsWith("Resuming session") -> Type.Handshake
              message.startsWith("Using PSK to derive early secret") -> Type.Handshake
              else -> Type.Unknown
            }
    
        override fun toString(): String {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

                        .filter(str -> str != null && !str.isEmpty())
                        .forEach(request.getProjectActivation()::activateOptionalProject);
                LOGGER.info("Resuming from {} due to the --resume / -r feature.", propertyValue);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    		// If we resume to the same bucket, forward to last known item.
    		b := tracker.getBucket()
    		if b == bucket {
    			forwardTo = tracker.getObject()
    		}
    		if b != "" {
    			// Reset to where last bucket ended if resuming.
    			tracker.resume()
    		}
    		tracker.setObject("")
    		tracker.setBucket(bucket)
    		// Heal current bucket again in case if it is failed
    		// in the beginning of erasure set healing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    			if err == nil || err == io.EOF {
    				return entries, err
    			}
    			entries.truncate(0)
    		} else {
    			if o.pool < len(z.serverPools) && o.set < len(z.serverPools[o.pool].sets) {
    				o.debugln("Resuming", o)
    				entries, err = z.serverPools[o.pool].sets[o.set].streamMetadataParts(ctx, *o)
    				entries.reuse = true // We read from stream and are not sharing results.
    				if err == nil {
    					return entries, nil
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics.go

    		return
    	}
    
    	duration := endTime.Sub(m.startTime)
    
    	bytesSinceLastWindow := atomic.SwapUint64(&m.bytesSinceLastWindow, 0)
    
    	if m.expMovingAvg == 0 {
    		// Should address initial calculation and should be fine for resuming from 0
    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops.go

    	ItemsFailed uint64
    
    	BytesDone   uint64
    	BytesFailed uint64
    
    	// Last object scanned.
    	Bucket string `json:"-"`
    	Object string `json:"-"`
    
    	// Numbers when current bucket started healing,
    	// for resuming with correct numbers.
    	ResumeItemsHealed  uint64 `json:"-"`
    	ResumeItemsFailed  uint64 `json:"-"`
    	ResumeItemsSkipped uint64 `json:"-"`
    	ResumeBytesDone    uint64 `json:"-"`
    	ResumeBytesFailed  uint64 `json:"-"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top