SpaceSize

The SpaceSize activity is used to count the number of tuples.

General

In the General tab, you can specify the activity name and a space connection.

The following table describes the fields in the General tab of the SpaceSize activity:

Field Module Property? Description
Name No Specifies the name to be displayed as the label for the activity in the process.
Space Connection Yes Click the icon to select a space connection that defines how the application joins the space.

If no matching space connections are found, click Create Shared Resource to create one. See Creating a Metaspace Connection for details.

Description

In the Description tab, you can enter a short description for the SpaceSize activity.

Input

In the Input tab, you can specify a filter to return specified events:

Input Item Data Type Description
filter String Specifies a filter string. A filtered space size only returns events that match the specified filter.

The way filters work in the plug-in is similar to the way message selectors work in JMS.

Note: Ensure that the filter syntax is correct according to the TIBCO ActiveSpaces documentation. If an invalid filter is given, no results are reported. See TIBCO ActiveSpaces Developer’s Guide for detailed information on how to use filters.

Output

In the Output tab, you can find the operation results.

The following table describes the field in the Output tab of the SpaceSize activity:

Output Item Data Type Description
size Integer Returns the number of entries in the space that match the specified filter.

Fault

In the Fault tab, you can find the error code and error message of the SpaceSize activity. See Error Codes for more detailed explanation of the errors.

The following table describes the errors in the Fault tab of the SpaceSize activity:

Error Schema Element Data Type Description
msg String The TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces error message.
msgCode String The TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces error code.
ASStatus String The status code returned by TIBCO ActiveSpaces functions.

See TIBCO ActiveSpaces Java API Reference for more information.