public enum NotificationCheck extends Enum<NotificationCheck>
Enum Constant and Description |
---|
MESSAGE_AGE_ALERT |
MESSAGE_COUNT_ALERT |
MESSAGE_SIZE_ALERT |
QUEUE_DEPTH_ALERT |
Modifier and Type | Method and Description |
---|---|
boolean |
isMessageSpecific() |
abstract boolean |
notifyIfNecessary(ServerMessage<?> msg,
AMQQueue queue,
QueueNotificationListener listener) |
static NotificationCheck |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationCheck[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationCheck MESSAGE_COUNT_ALERT
public static final NotificationCheck MESSAGE_SIZE_ALERT
public static final NotificationCheck QUEUE_DEPTH_ALERT
public static final NotificationCheck MESSAGE_AGE_ALERT
public static NotificationCheck[] values()
for (NotificationCheck c : NotificationCheck.values()) System.out.println(c);
public static NotificationCheck valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isMessageSpecific()
public abstract boolean notifyIfNecessary(ServerMessage<?> msg, AMQQueue queue, QueueNotificationListener listener)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.