|
webMethods Admin Version 7.1.0.0.211 082207 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.activesw.api.client.BrokerClientQueueLock
public class BrokerClientQueueLock
This class gives you access to all the functions with which you can manipulate the queue.
Constructor Summary | |
---|---|
BrokerClientQueueLock(BrokerAdminClient client,
java.lang.String target_client_id)
Dropped. |
Method Summary | |
---|---|
int |
deleteEvents(int from_index,
int max_events)
Dropped. |
int |
deleteEvents(long[] seqns)
Dropped. |
BrokerFilter[] |
getFilter()
Dropped. |
BrokerDate |
getLockAcquiredTime()
Dropped. |
java.lang.String |
getLockedClientId()
Dropped. |
java.lang.String |
getLockingClientId()
Dropped. |
int |
getLockingSessionId()
Dropped. |
void |
insertEvents(int at_index,
BrokerEvent[] events)
Dropped. |
boolean |
isAcquired()
Dropped. |
BrokerEvent[] |
peekAllEvents(int from_index,
int max_events,
int max_sec)
Dropped. |
BrokerEvent[] |
peekEvents(int from_index,
int max_events,
int max_sec)
Dropped. |
boolean |
releaseLock()
Dropped. |
void |
setFilter(java.lang.String event_type_name,
java.lang.String filter_expr)
Dropped. |
void |
setFilters(BrokerFilter[] filters)
Dropped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrokerClientQueueLock(BrokerAdminClient client, java.lang.String target_client_id) throws BrokerException
client
- the admin client that will do worktarget_id
- id of the client whose queue needs to be locked
BrokerNotImplementedException
BrokerException
Method Detail |
---|
public boolean releaseLock() throws BrokerException
BrokerNotImplementedException
BrokerException
public BrokerEvent[] peekEvents(int from_index, int max_events, int max_sec) throws BrokerException
from_index
- list of events starting from this indexmax_event
- user requests this many events
BrokerNotImplementedException
BrokerException
public BrokerEvent[] peekAllEvents(int from_index, int max_events, int max_sec) throws BrokerException
from_index
- list of events starting from this indexmax_event
- user requests this many events
BrokerNotImplementedException
BrokerException
public int deleteEvents(int from_index, int max_events) throws BrokerException
from_index
- The deliverable event's index in the queue .max_events
- The maximum number of events to be deleted.
BrokerNotImplementedException
BrokerException
public int deleteEvents(long[] seqns) throws BrokerException
from_index
- The deliverable event's index in the queue .max_events
- The maximum number of events to be deleted.
BrokerNotImplementedException
BrokerException
public void insertEvents(int at_index, BrokerEvent[] events) throws BrokerException
at_index
- The position at which the given events need
to be inserted in the deliverable events list in the queueevents
- The events list that need to be inserted.
BrokerNotImplementedException
BrokerException
public void setFilter(java.lang.String event_type_name, java.lang.String filter_expr) throws BrokerException
event_type_name
- The event on which the filter has to be setfilter_expr
- The filter string
BrokerNotImplementedException
BrokerException
public void setFilters(BrokerFilter[] filters) throws BrokerException
filters
- array of BrokerFilters that need to be set
on events in the queue that has been locked.
BrokerNotImplementedException
BrokerException
public BrokerFilter[] getFilter() throws BrokerException
lock_id
- id of the locked queue
BrokerNotImplementedException
BrokerException
public java.lang.String getLockingClientId()
public java.lang.String getLockedClientId()
public int getLockingSessionId()
public BrokerDate getLockAcquiredTime()
public boolean isAcquired()
|
webMethods Admin Version 7.1.0.0.211 082207 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |