Skip to end of metadata
Go to start of metadata

Author

Boris Capitanu

Creation date

06/06/2011

Firing policy

all

Package

org.seasr.meandre.components.tools.control

DESCRIPTION

This component counts the number of data objects passing through it and outputs the current count. If the component is set to act on a particular stream (by setting 'streamId' appropriately) then at the end of the stream the component will output a total count of all elements in that stream.

INPUTS

Name

Description

Example

object
The object
TYPE: java.lang.Object

 

OUTPUTS

Name

Description

Example

current_count
The current count (pushed for each stream item)
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

error
This port is used to output any unhandled errors encountered during the execution of this component

 

total_count
The total count (pushed once per stream)
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

object
The same object received as input
TYPE: java.lang.Object

 

PROPERTIES

Name

Description

Default value

_debug_level
Controls the verbosity of debug messages printed by the component during execution.
Possible values are: off, severe, warning, info, config, fine, finer, finest, all
Append ',mirror' to any of the values above to mirror that output to the server logs.
info
_stream_id
Defines the stream id used to identify a particular stream of data
_ignore_errors
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component
false
Write a comment…