|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectqueued.sdk.java.examples.SimpleQueueAlarm
Monitors a queue and sends an alarm if the number of interactions in this queue is greater than a particular alarm value.
| Constructor Summary | |
SimpleQueueAlarm(java.lang.String queueName,
int _alarm)
Constructor. |
|
| Method Summary | |
java.lang.String |
createTimeStamp()
Returns a timestamp for log messages. |
void |
handleQueueEvent(QILQueueEvent event)
Receives QILQueueEvent, which report changes in the monitored queue. |
static void |
main(java.lang.String[] args)
Launches the simple queue alarm example. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleQueueAlarm(java.lang.String queueName,
int _alarm)
| Method Detail |
public java.lang.String createTimeStamp()
public static void main(java.lang.String[] args)
args - arguments:
public void handleQueueEvent(QILQueueEvent event)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||