|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.gbase.client.Stats.Statistics
public static class Stats.Statistics
Information about one specific use (impressions, clicks, page views).
Constructor Summary | |
---|---|
Stats.Statistics()
|
Method Summary | |
---|---|
int |
getCountBySource(java.lang.String source)
Get a sub-total for a specific source. |
java.util.Set<java.lang.String> |
getSources()
Gets a set of sources for which a sub-total is available. |
int |
getTotal()
Gets the total for this statistic. |
void |
setCountBySource(java.lang.String source,
int count)
Sets the sub-total for a specific source. |
void |
setTotal(int total)
Sets the total for this statistic. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Stats.Statistics()
Method Detail |
---|
public int getTotal()
public void setTotal(int total)
total
- public java.util.Set<java.lang.String> getSources()
public int getCountBySource(java.lang.String source)
source
- source name
public void setCountBySource(java.lang.String source, int count)
source
- source namecount
- sub-total or -1 if it is not known
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |