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 input stream queue.

The free space in the input stream queue is determined by subtracting the amount 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 input 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.
SDPClientQueryGroupStopException The query group is stopped. (Detailed exception of SDPClientQueryGroupStateException)

Return value

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