public class AutoBidsTaskCmdImpl extends ProcessTaskCmdImpl implements AutoBidsTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | EC_AUTOBIDS_TASK_ERROR_VIEW_CMD
The name for the error task.
|
protected java.util.Vector | winners
The list of winners.
|
Constructor and Description |
---|
AutoBidsTaskCmdImpl()
AutoBidsTaskCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double | allocateQuantity()
Allocates the quantity on auction among the specified sorted list of bids.
|
protected int | calcExpectedBidCount()
Calculates the expected number of bids to be retrieved required to fully allocate the auction quantity.
|
protected void | determineWinnersNextBidPrices()
Determines the current potential bid winners's next bid prices for the current auction.
|
protected java.util.Vector | getWinners()
Gets the winner list.
|
protected void | handleException(java.lang.Exception e)
Formats an ECException based on the input exception value.
|
void | performExecute()
Auto bids processing task.
|
void | reset()
Resets the command, so that it can be reused.
|
protected java.util.Vector | retrieveActiveBids(int count)
Retrieves the specified number of active bids sorted by bid price/upper limits (desc), quantity (desc) and creation time (asc)
|
protected void | updateAuction(long auctionBookKeepTime)
Updates current auction highest/lowest winning bids, lock flag and time.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String EC_AUTOBIDS_TASK_ERROR_VIEW_CMD
protected java.util.Vector winners
public AutoBidsTaskCmdImpl()
protected double allocateQuantity() throws java.lang.Exception
protected int calcExpectedBidCount() throws java.lang.Exception
protected void determineWinnersNextBidPrices() throws java.lang.Exception
protected java.util.Vector getWinners()
protected void handleException(java.lang.Exception e) throws ECException
public void performExecute() throws ECException
public void reset()
protected java.util.Vector retrieveActiveBids(int count) throws ECException
protected void updateAuction(long auctionBookKeepTime) throws java.lang.Exception