uCosminexus Stream Data Platform - Application Framework Application Development Guide

[Contents][Index][Back][Next]

getFreeQueueSize() method

Format

int getFreeQueueSize()

Explanation

Acquires the amount of free space in the output stream queue.

The free space in the output stream queue is determined by subtracting the space being used from the value specified in the engine.maxQueueSize parameter of system_config.properties.

Parameters

None.

Exceptions

The following table shows the exceptions and the conditions for their generation.

Exception Generation condition
SDPClientCommunicationException A communication exception occurred during RMI connection.
SDPClientException The output stream is already closed.
SDPClientQueryGroupHoldException The query group is held. (Detailed exception of SDPClientQueryGroupStateException)
SDPClientQueryGroupNotExistException The query group was deleted.
SDPClientQueryGroupStateException The query group is not being executed.

Return value

Amount of free space in the output stream queue (int)