public class NotificationListenerKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_FACT_DROP
Key for registering interest in Fact publish rejections.
|
static int |
EVENT_FACT_PUBLISH
Key for registering interest in Fact publish notifications.
|
static int |
EVENT_SERVER_HEALTH
Key for registering interest in server up/down notifications.
|
static int |
EVENT_TASK_REJECT
Key for registering interest in task submission rejections.
|
Constructor and Description |
---|
NotificationListenerKey() |
Modifier and Type | Method and Description |
---|---|
int |
interestEvents()
Get current list of events interested in.
|
boolean |
isInterestedInFactDrops()
Tests whether this key is interested in receiving fact publish rejections.
|
boolean |
isInterestedInFactPublish()
Tests whether this key is interested in receiving fact publish notifications.
|
boolean |
isInterestedInServerHealth()
Tests whether this key is interested in receiving server health notifications.
|
boolean |
isInterestedInTaskRejections()
Tests whether this key is interested in receiving task submission rejections.
|
void |
setInterestEvents(int interestEvents)
Set list of events interested in.
|
public static final int EVENT_SERVER_HEALTH
public static final int EVENT_FACT_PUBLISH
public static final int EVENT_FACT_DROP
public static final int EVENT_TASK_REJECT
public final boolean isInterestedInServerHealth()
public final boolean isInterestedInFactPublish()
public final boolean isInterestedInFactDrops()
public final boolean isInterestedInTaskRejections()
It is recommended that API users always register interest in this key since tasks may get rejected for various reasons.
public void setInterestEvents(int interestEvents)
public int interestEvents()
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.