|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 millisecondsMethod Detail |
public long getCount()
public java.lang.String getRuntimeXml()
public void incrementCount()
public boolean isExpired()
isExpired
in interface IsExpired
true
if time of counting is expired; otherwise false
IsExpired.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 |