- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getTransferStartTime (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java
/** * Gets the timestamp when the transfer of this artifact was started. * * @return The timestamp when the transfer of this artifact was started. */ long getTransferStartTime();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
.append(resource.getResourceName()) .append(" ("); format.format(message, contentLength); long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0L) { double bytesPerSecond = contentLength / (duration / 1000.0); message.append(" at "); format.format(message, (long) bytesPerSecond);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 3.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java
.append(" ("); format.format(message, contentLength); Duration duration = Duration.between(Instant.ofEpochMilli(resource.getTransferStartTime()), MonotonicClock.now()); if ((duration.getSeconds() | duration.getNano()) > 0) { // duration.isPositive() long bytesPerSecond = Math.round(contentLength / (double) duration.toSeconds());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
String len = contentLength >= 1024 ? toKB(contentLength) + " KB" : contentLength + " B"; String throughput = ""; long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0) { DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH)); double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
message.append(darkOff).append(resource.getResourceName()); message.append(darkOn).append(" (").append(format.format(contentLength)); long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0L) { double bytesPerSecond = contentLength / (duration / 1000.0); message.append(" at ").append(format.format((long) bytesPerSecond)).append("/s"); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0)