public class CompletionServiceStub extends Object implements CompletionService<org.apache.maven.lifecycle.internal.ProjectSegment>
Constructor and Description |
---|
CompletionServiceStub(boolean finishImmediately) |
Modifier and Type | Method and Description |
---|---|
Future<org.apache.maven.lifecycle.internal.ProjectSegment> |
poll() |
Future<org.apache.maven.lifecycle.internal.ProjectSegment> |
poll(long timeout,
TimeUnit unit) |
int |
size() |
Future<org.apache.maven.lifecycle.internal.ProjectSegment> |
submit(Callable<org.apache.maven.lifecycle.internal.ProjectSegment> task) |
Future<org.apache.maven.lifecycle.internal.ProjectSegment> |
submit(Runnable task,
org.apache.maven.lifecycle.internal.ProjectSegment result) |
Future<org.apache.maven.lifecycle.internal.ProjectSegment> |
take() |
public int size()
public Future<org.apache.maven.lifecycle.internal.ProjectSegment> submit(Callable<org.apache.maven.lifecycle.internal.ProjectSegment> task)
submit
in interface CompletionService<org.apache.maven.lifecycle.internal.ProjectSegment>
public Future<org.apache.maven.lifecycle.internal.ProjectSegment> submit(Runnable task, org.apache.maven.lifecycle.internal.ProjectSegment result)
submit
in interface CompletionService<org.apache.maven.lifecycle.internal.ProjectSegment>
public Future<org.apache.maven.lifecycle.internal.ProjectSegment> take() throws InterruptedException
take
in interface CompletionService<org.apache.maven.lifecycle.internal.ProjectSegment>
InterruptedException
public Future<org.apache.maven.lifecycle.internal.ProjectSegment> poll()
poll
in interface CompletionService<org.apache.maven.lifecycle.internal.ProjectSegment>
public Future<org.apache.maven.lifecycle.internal.ProjectSegment> poll(long timeout, TimeUnit unit) throws InterruptedException
poll
in interface CompletionService<org.apache.maven.lifecycle.internal.ProjectSegment>
InterruptedException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.