public static class NotificationPolicy.ThrottledNotificationPolicy extends Object implements NotificationPolicy
NotificationPolicy.ThrottledNotificationPolicyDEFAULT_DELAY| Constructor and Description |
|---|
ThrottledNotificationPolicy()
Class constructor
|
ThrottledNotificationPolicy(int threshold,
long timeout)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enqueue() |
int |
getCurrent() |
int |
getThreshold() |
long |
getTimeout() |
Timer |
getTimer() |
void |
reset() |
public ThrottledNotificationPolicy()
public ThrottledNotificationPolicy(int threshold,
long timeout)
threshold - parametertimeout - parameterpublic boolean enqueue()
enqueue in interface NotificationPolicyNotificationPolicy.enqueue()public Timer getTimer()
getTimer in interface NotificationPolicyNotificationPolicy.getTimer()public void reset()
reset in interface NotificationPolicyNotificationPolicy.reset()public long getTimeout()
getTimeout in interface NotificationPolicyNotificationPolicy.getTimeout()public int getCurrent()
getCurrent in interface NotificationPolicyNotificationPolicy.getCurrent()public int getThreshold()
getThreshold in interface NotificationPolicyNotificationPolicy.getThreshold()Copyright 2004-2021 Solace Corporation. All rights reserved.