|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eventgnosis.filters.CountUniqueRec
Tuple including count value and expiration timer.
The timer starts at the arrival of the first event.
| Constructor Summary | |
CountUniqueRec(long expTime)
Creates a new instance of CountUniqueRec. |
|
| Method Summary | |
long |
getCount()
|
java.lang.String |
getRuntimeXml()
|
void |
incrementCount()
Increments the count. |
boolean |
isExpired()
Checks out if time of counting is expired. |
void |
reset()
Resets timer and counter. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CountUniqueRec(long expTime)
expTime - - expiration time in milliseconds| Method Detail |
public long getCount()
public java.lang.String getRuntimeXml()
public void incrementCount()
public boolean isExpired()
isExpired in interface IsExpiredtrue if time of counting is expired; otherwise falseIsExpired.isExpired()public void reset()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||