TibrvRvdTransport.setBatchMode()
Method
Declaration
voidsetBatchMode(
int mode)
throws TibrvException
static final int DEFAULT_BATCH = 0;
static final int TIMER_BATCH = 1;
Purpose
Set the batch mode parameter of a transport.
Remarks
This type of batching is available only with the standard (daemon-based) Rendezvous library. It is not available with the IPM library.
The batch mode determines when the transport transmits outbound message data to rvd:
| • | As soon as possible (the initial default for all transports) |
| • | Either when its buffer is full, or when a timer interval expires—either event triggers transmission to the daemon |
|
Parameter |
Description |
|
|
Use this value as the new batch mode. |
|
Constant |
Description |
|
|
Default batch behavior. The transport transmits outbound messages to This value is the initial default for all transports. |
|
|
Timer batch behavior. The transport accumulates outbound messages, and transmits them to |