setInterval Method (Listener Class)

Allows the application to dynamically change the aggregation interval of the Listener during application execution.

NOTE Although an application may configure the aggregation interval, the value is normally set to the default or specified by the Manager. For more information, see Configuring the Aggregation Interval.

Syntax
void setInterval(int interval);
Parameters
interval - [in] Required int value that specifies the new value (in milliseconds) to assign as the aggregation interval. Values of less than 100 milliseconds are ignored.
Example
Listener listener = new Listener("sampleApp", "4.0");
listener.setInterval(100000);

...
See Also
Listener Class