- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for SimplexTransferListener (0.88 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
* concurrently. * * @since 4.0.0 */ public final class SimplexTransferListener extends AbstractTransferListener { private static final Logger LOGGER = LoggerFactory.getLogger(SimplexTransferListener.class); private static final int QUEUE_SIZE = 1024; private static final int BATCH_MAX_SIZE = 500; private final TransferListener delegate;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
public void transferSucceeded(TransferEvent event) {} @Override public void transferFailed(TransferEvent event) {} }; SimplexTransferListener listener = new SimplexTransferListener(delegate); TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", new File("file"), null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
cli.logging(request); TransferListener transferListener = cli.populateRequest(request).getTransferListener(); if (transferListener instanceof SimplexTransferListener) { transferListener = ((SimplexTransferListener) transferListener).getDelegate(); } assertThat(transferListener.getClass(), is(expectedSubClass)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java
startLatch = new CountDownLatch(size); endLatch = new CountDownLatch(size); Map<String, String> output = new ConcurrentHashMap<String, String>(); TransferListener listener = new SimplexTransferListener(new ConsoleMavenTransferListener( new JLineMessageBuilderFactory(), new PrintWriter(System.out) { @Override public void print(Object o) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
import org.eclipse.aether.transfer.TransferResource; /** * Console download progress meter. * <p> * This listener is not thread-safe and should be wrapped in the {@link SimplexTransferListener} in a multi-threaded scenario. */ public class ConsoleMavenTransferListener extends AbstractMavenTransferListener {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
import org.apache.maven.cli.logging.Slf4jConfigurationFactory; import org.apache.maven.cli.transfer.ConsoleMavenTransferListener; import org.apache.maven.cli.transfer.QuietMavenTransferListener; import org.apache.maven.cli.transfer.SimplexTransferListener; import org.apache.maven.cli.transfer.Slf4jMavenTransferListener; import org.apache.maven.cling.invoker.mvn.ProtoSession; import org.apache.maven.execution.MavenExecutionRequest;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
import org.apache.maven.cli.props.MavenPropertiesLoader; import org.apache.maven.cli.transfer.ConsoleMavenTransferListener; import org.apache.maven.cli.transfer.QuietMavenTransferListener; import org.apache.maven.cli.transfer.SimplexTransferListener; import org.apache.maven.cli.transfer.Slf4jMavenTransferListener; import org.apache.maven.di.Injector; import org.apache.maven.eventspy.internal.EventSpyDispatcher;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0)