Package com.apama.iaf.plugin
Class ExtendedCodecStatus
- java.lang.Object
-
- com.apama.iaf.plugin.CodecStatus
-
- com.apama.iaf.plugin.ExtendedCodecStatus
-
public class ExtendedCodecStatus extends CodecStatus
ExtendedCodecStatus contains status information about the codec, and is returned by AbstractCodecEvent.getStatus(). This class extends CodecStatus to allows the user to provide additional status information
-
-
Constructor Summary
Constructors Constructor Description ExtendedCodecStatus(java.lang.String status, long totalDecoded, long totalEncoded, java.util.Properties statusInfo)
Constructs a ExtendedCodecStatus instance with the specified parameters.
-
Method Summary
-
Methods inherited from class com.apama.iaf.plugin.CodecStatus
getDecoded, getEncoded, getStatus
-
-
-
-
Constructor Detail
-
ExtendedCodecStatus
public ExtendedCodecStatus(java.lang.String status, long totalDecoded, long totalEncoded, java.util.Properties statusInfo)
Constructs a ExtendedCodecStatus instance with the specified parameters.- Parameters:
status
- A string containing a codec-specific status message. Strings longer than 1024 characters will be truncated.totalDecoded
- The number of events decodedtotalEncoded
- The number of events encodedstatusInfo
- Any additional status information about this codec. Standard statusInfo keys are:- VERSION=codec_version_string
- CONFIG_VERSION=config_version_string
- CONNECTION=connectionGeneration (if adapter manages only one connection), or
- CONNECTION_connectionId=connectionGeneration (if adapter manages multiple connections)
-
-