public final class BuildQueue extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
available()
Test if the lock is available, without blocking.
|
void |
enqueueAndWait()
Block until the commit can be tested without any other commits
running at the same time.
|
static BuildQueue |
getInstance()
Get the singleton instance.
|
void |
release()
Signal that the build is done and a new one can get access.
|
public static BuildQueue getInstance()
public void enqueueAndWait()
public void release()
public boolean available()
Copyright © 2004–2015. All rights reserved.