- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getTransferredBytes (0.17 sec)
-
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
} @Override public void transferProgressed(TransferEvent event) { TransferResource resource = event.getResource(); downloads.put(resource, event.getTransferredBytes()); StringBuilder buffer = new StringBuilder(64); for (Map.Entry<TransferResource, Long> entry : downloads.entrySet()) { long total = entry.getKey().getContentLength();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from"; TransferResource resource = event.getResource(); long contentLength = event.getTransferredBytes(); FileSizeFormat format = new FileSizeFormat(); StringBuilder message = new StringBuilder(); message.append(action).append(' ').append(direction).append(' ').append(resource.getRepositoryId());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from"; TransferResource resource = event.getResource(); long contentLength = event.getTransferredBytes(); FileSizeFormat format = new FileSizeFormat(); MessageBuilder message = messageBuilderFactory.builder(); message.append(action).style(STYLE).append(' ').append(direction).append(' ');
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
TransferResource resource = event.getResource(); transfers.put( new TransferResourceIdentifier(resource), new TransferResourceAndSize(resource, event.getTransferredBytes())); buffer.append("Progress (").append(transfers.size()).append("): "); Iterator<TransferResourceAndSize> entries = transfers.values().iterator(); while (entries.hasNext()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
} /** * @param localFile The local file to set. */ public void setLocalFile(File localFile) { this.localFile = localFile; } public long getTransferredBytes() { return transferredBytes; } public void setTransferredBytes(long transferredBytes) { this.transferredBytes = transferredBytes; } public byte[] getDataBuffer() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0)