Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvQueueGroup

Class

## Declaration

    class com.tibco.tibrv.TibrvQueueGroup
      extends java.lang.Object
      implements TibrvDispatchable

## Purpose

Prioritized dispatch of several queues with one call.

## Remarks

Queue groups add flexibility and fine-grained control to the event queue dispatch mechanism. Programs can create groups of queues and dispatch them according to their queue priorities.

Programs must explicitly destroy instances of this class. Rendezvous software keeps internal references to these objects, so the Java garbage collector does not delete them automatically.

Method | Description
Life Cycle
TibrvQueueGroup() | Create an event queue group.
TibrvQueueGroup.destroy() | Destroy an event queue group.
TibrvQueueGroup.isValid() | Test validity of a queue group.
Dispatch
TibrvQueueGroup.dispatch() | Dispatch an event from a queue group; if no event is ready, block.
TibrvQueueGroup.poll() | Dispatch an event, but if no event is ready to dispatch, return immediately (without blocking).
TibrvQueueGroup.timedDispatch() | Dispatch an event, but if no event is ready to dispatch, limit the time that this call blocks while waiting for an event.
Queues
TibrvQueueGroup.add() | Add an event queue to a queue group.
TibrvQueueGroup.contains() | Test whether a queue is in a queue group.
TibrvQueueGroup.elements() | Extract an enumeration of the queues in a queue group.
TibrvQueueGroup.getCount() | Extract the number of queues in a queue group.
TibrvQueueGroup.remove() | Remove an event queue from a queue group.

Inherited Methods
`java.lang.Object.equals` `java.lang.Object.getClass` `java.lang.Object.hashCode` `java.lang.Object.notify` `java.lang.Object.notifyAll` `java.lang.Object.toString` (override) `java.lang.Object.wait`

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.