|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentQueueAccessor
Method Summary | |
---|---|
BuildContext |
takeBuildContext(long agentId)
Takes a BuildContext from the queue, blocking until one is available. |
Method Detail |
---|
@Nullable BuildContext takeBuildContext(long agentId) throws java.lang.InterruptedException
BuildContext
from the queue, blocking until one is available.
The lock on the build is not released. The caller should call BuildExecutionManager#finishProcess
to
release this lock when ready.
the
- long
id of the agent that is taking the build context.
BuildContext
, null in case of timeout on retrieval.
java.lang.InterruptedException
- if the calling Thread
is interrupted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |