|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.mywork.rest.JsonCount
public class JsonCount
This class contains the number of unseen notifications and a minimum polling period.
Constructor Summary | |
---|---|
JsonCount(int count,
int timeout,
int maxTimeout)
Creates a new count |
Method Summary | |
---|---|
int |
getCount()
Returns a count |
int |
getMaxTimeout()
Returns the maximum polling period in seconds. |
int |
getTimeout()
Returns the minimum polling period in seconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonCount(int count, int timeout, int maxTimeout)
count
- the number of unseen notificationstimeout
- minimum polling period in secondsMethod Detail |
---|
public int getCount()
public int getTimeout()
public int getMaxTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |