new Stream(aCollector, aStreamName, theAttributes, anAdapter)
The Stream object will be returned when the method
SpringStreams.track(stream, atts, adapter) is called.
The method stop() can be called if the measurement should be
stopped. It is not possible to reactivate the measurement. For that
purpose the method SpringStreams.track(stream, atts, adapter) has to be
called again.
Parameters:
Name | Type | Description |
---|---|---|
aCollector |
SpringStreams | The collector |
aStreamName |
String | stream The name of the stream content |
theAttributes |
Map | att A map which contains information about the streaming content. |
anAdapter |
StreamAdapter | adapter The stream adapter which handles the access to the underlying streaming content. |
Methods
(static) getUid()
Returns the UID of the stream.
(static) stop()
Sync and stop the stream tracking immediately.