Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvCmQueueTransport.setTaskBacklogLimit...()

Method

## Declaration

    void setTaskBacklogLimitInBytes(
        int   byteLimit)
      throws TibrvException
    void setTaskBacklogLimitInMessages(
        int   msgLimit)
      throws TibrvException

## Purpose

Set the scheduler task queue limits of a distributed queue transport.

## Remarks

The scheduler stores tasks in a queue. These properties limit the maximum size of that queue—by number of bytes or number of messages (or both). When no value is set for these properties, the default is no limit.

When the task messages in the queue exceed either of these limits, Rendezvous software deletes new inbound task messages.

Programs may call each of these methods at most once. The calls must occur before the transport assumes the scheduler role; after a transport acts as a scheduler, these values are fixed, and subsequent attempts to change them throw an exception with status code TibrvStatus.NOT_PERMITTED.

Parameter | Description
byteLimit | Use this size limit (in bytes). Zero is a special value, indicating no size limit.
msgLimit | Use this message limit (number of messages). Zero is a special value, indicating no limit on the number of messages.

## See Also

Distributed Queue, in TIBCO Rendezvous Concepts

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.