|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umich.eecs.tac.props.AbstractKeyedEntry<T> edu.umich.eecs.tac.props.AbstractTransportableEntry<Query> edu.umich.eecs.tac.props.AbstractQueryEntry edu.umich.eecs.tac.props.BidBundle.BidEntry
public static class BidBundle.BidEntry
Each BidEntry contains:
Ad
- The ad to be used for the given query.
Constructor Summary | |
---|---|
BidBundle.BidEntry()
Creates a bid entry with all values set to their persistent value. |
Method Summary | |
---|---|
Ad |
getAd()
Returns the ad for display for the query class. |
double |
getBid()
Returns the bid for the query class. |
double |
getDailyLimit()
Returns the daily spend limit for the query class. |
protected void |
readEntry(se.sics.isl.transport.TransportReader reader)
Reads the bid entry state from the reader. |
void |
setAd(Ad ad)
Sets the ad for the query class. |
void |
setBid(double bid)
Sets the bid for the query class. |
void |
setDailyLimit(double dailyLimit)
Sets the daily spend limit for the query class. |
java.lang.String |
toString()
Returns a string representation for the bid entry. |
protected void |
writeEntry(se.sics.isl.transport.TransportWriter writer)
Writes the bid entry state to the writer. |
Methods inherited from class edu.umich.eecs.tac.props.AbstractQueryEntry |
---|
getQuery, keyNodeName, setQuery |
Methods inherited from class edu.umich.eecs.tac.props.AbstractTransportableEntry |
---|
readKey, writeKey |
Methods inherited from class edu.umich.eecs.tac.props.AbstractKeyedEntry |
---|
getKey, getTransportName, read, setKey, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.umich.eecs.tac.props.KeyedEntry |
---|
getKey |
Methods inherited from interface se.sics.isl.transport.Transportable |
---|
getTransportName, read, write |
Constructor Detail |
---|
public BidBundle.BidEntry()
Method Detail |
---|
public final Ad getAd()
public final void setAd(Ad ad)
PERSISTENT_AD
to persist the prior day's value.
ad
- the ad.public final double getBid()
public final void setBid(double bid)
PERSISTENT_BID
to persist the prior day's value.
bid
- the bid for the query classprotected final void readEntry(se.sics.isl.transport.TransportReader reader) throws java.text.ParseException
readEntry
in class AbstractKeyedEntry<Query>
reader
- the reader to read the state in from.
java.text.ParseException
- if an exception occurs when reading the bid entry stateprotected final void writeEntry(se.sics.isl.transport.TransportWriter writer)
writeEntry
in class AbstractKeyedEntry<Query>
writer
- the writer to write the entry state topublic final double getDailyLimit()
public final void setDailyLimit(double dailyLimit)
dailyLimit
- the daily spend limit for the query classpublic final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |