public class BrokerLockedClientQueueBrowser extends BrokerClientQueueBrowser implements BrokerLockedQueueBrowser
Modifier and Type | Method and Description |
---|---|
int |
deleteEvents(long[] seqns)
Delete events in the queue.
|
void |
insertEventsAtHead(BrokerEvent[] events)
Insert events in into the queue.
|
void |
insertEventsAtTail(BrokerEvent[] events)
Insert events in into the queue.
|
void |
modifyEvents(long[] seqns,
BrokerEvent[] events)
Modify events in the queue.
|
createException, getBrowserInfo
browseEvents, closeQueueBrowser, getFilters, resetFilters, setFilter, setFilters, setPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
browseEvents, closeQueueBrowser, getBrowserInfo, getFilters, resetFilters, setFilter, setFilters, setPosition
public void modifyEvents(long[] seqns, BrokerEvent[] events) throws BrokerException
modifyEvents
in interface BrokerLockedQueueBrowser
seqns
- An array of sequence numbers that identify the events to be modified in the queue.events
- An array of BrokerEvent that will be updated in place of the events in the queue.BrokerInvalidClientException
- If the client has been destroyed or disconnected.BrokerQueueBrowserException
- If the event cannot be modifiedBrokerException
public int deleteEvents(long[] seqns) throws BrokerException
deleteEvents
in interface BrokerLockedQueueBrowser
seqns
- An array of sequence numbers that identify the events in the queue.BrokerInvalidClientException
- If the client has been destroyed or disconnected.BrokerQueueBrowserException
- If the event cannot be deletedBrokerException
public void insertEventsAtHead(BrokerEvent[] events) throws BrokerException
insertEventsAtHead
in interface BrokerLockedQueueBrowser
events
- An array of events to be inserted.BrokerInvalidClientException
- If the client has been destroyed or disconnected.BrokerQueueBrowserException
- If the event cannot be insertedBrokerException
public void insertEventsAtTail(BrokerEvent[] events) throws BrokerException
insertEventsAtTail
in interface BrokerLockedQueueBrowser
events
- An array of events to be inserted.BrokerInvalidClientException
- If the client has been destroyed or disconnected.BrokerQueueBrowserException
- If the event cannot be insertedBrokerException
Copyright © 2002-2006 webMethods, Inc. Copyright © 2007-2021 Software AG Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.