| Modifier and Type | Method and Description |
|---|---|
static ConsumerNotificationDispatcher |
create(String name) |
void |
enqueueBlockingNotification(Notification notif) |
boolean |
enqueueNonBlockingNotification(Notification notif) |
int |
getRemainingCapacity() |
int |
getRemainingConfigurableCapacity() |
int |
getSize() |
boolean |
hasReachedConfigurableCapacity() |
boolean |
isFull() |
void |
purgeNotifications(XMLMessageListener listener,
List<Notification> removedNotifs) |
void |
run() |
public static ConsumerNotificationDispatcher create(String name)
public boolean enqueueNonBlockingNotification(Notification notif)
public void enqueueBlockingNotification(Notification notif) throws InterruptedException
InterruptedExceptionpublic boolean isFull()
public boolean hasReachedConfigurableCapacity()
public int getSize()
public int getRemainingCapacity()
public int getRemainingConfigurableCapacity()
public void purgeNotifications(XMLMessageListener listener, List<Notification> removedNotifs)
Copyright 2004-2019 Solace Corporation. All rights reserved.