orca.shirako.common
Class Bids

java.lang.Object
  extended by orca.shirako.common.Bids

public class Bids
extends java.lang.Object

Bid contains the result of running the bidding algorithm for a service manager or broker. It consists of two collections:

  1. ticketing: set of new reservations to obtain tickets for
  2. extending: set of existing reservations that need to be extended


Field Summary
protected  ReservationSet extending
           
protected  ReservationSet ticketing
           
 
Constructor Summary
Bids(ReservationSet ticketing, ReservationSet extending)
          Creates a new instance.
 
Method Summary
 ReservationSet getExtending()
          Returns the set of reservations for which the policy has decided to extend the existing tickets.
 ReservationSet getTicketing()
          Returns the set of reservations for which the policy has decided to obtain new tickets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ticketing

protected ReservationSet ticketing

extending

protected ReservationSet extending
Constructor Detail

Bids

public Bids(ReservationSet ticketing,
            ReservationSet extending)
Creates a new instance.

Parameters:
ticketing - set of ticketing reservations
extending - set of extending reservations
Method Detail

getTicketing

public ReservationSet getTicketing()
Returns the set of reservations for which the policy has decided to obtain new tickets.

Returns:
set of ticketing reservations

getExtending

public ReservationSet getExtending()
Returns the set of reservations for which the policy has decided to extend the existing tickets.

Returns:
set of extending reservations


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.