com.pmease.quickbuild.model
Class Queue
java.lang.Object
com.pmease.quickbuild.model.Queue
- All Implemented Interfaces:
- java.io.Serializable
- public class Queue
- extends java.lang.Object
- implements java.io.Serializable
A build queue.
- Author:
- robin shine
- See Also:
- Serialized Form
Constructor Summary |
Queue()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAME
public static final java.lang.String DEFAULT_NAME
- See Also:
- Constant Field Values
Queue
public Queue()
getThreadCount
public long getThreadCount()
- You should configure the number of working threads in this queue to run builds. If all threads are
occupied, later build requests will be put into the waiting list.
- Returns:
setThreadCount
public void setThreadCount(long threadCount)
isAggregateAdjacentBuilds
public boolean isAggregateAdjacentBuilds()
- If this flag is set, QuickBuild will aggregate adjacent builds in this queue when it thinks
proper. Considering this case: You set up continuous integration for a project which takes
a long time to build. However, developers checkin their code frequently, which cause a lot of
build requests sent to QuickBuild. By setting this flag, these build requests will be aggregated
to form much fewer requests which will grealy save CPU cycles of your build machine, while still
keeps the ability to timely inform developers about whether or not their checkin breaks the code
base.
- Returns:
setAggregateAdjacentBuilds
public void setAggregateAdjacentBuilds(boolean aggregateAdjacentBuilds)
getName
public java.lang.String getName()
- Specify name of this queue
setName
public void setName(java.lang.String name)
getRemovals
public java.util.List getRemovals()
getWaitingsCopy
public java.util.List getWaitingsCopy()
getRunningsCopy
public java.util.List getRunningsCopy()
addToWaitings
public void addToWaitings(TriggeringInstance instance)
getNumOfWaitings
public int getNumOfWaitings(Configuration configuration)
moveWaitingsToRunnings
public void moveWaitingsToRunnings()
remove
public void remove(TriggeringInstance instance)
equals
public boolean equals(java.lang.Object other)
hashCode
public int hashCode()
Copyright © 2005 PMEase Inc. All Rights Reserved.