Apama 10.3.1 | Apama Documentation | Connecting Apama Applications to External Components | Working with IAF Plug-ins | Plug-in Support APIs for Java | Using the latency framework
 
Using the latency framework
 
Java timestamp
Java timestamp set
Java timestamp configuration object
Java latency framework API
The latency framework API provides a way to measure adapter latency by attaching high-resolution timing data to events as they stream into, through, and out of the adapter. Developers can then use these events to compute upstream, downstream, and round-trip latency numbers, including latency across multiple adapters.
The sendNormalisedEvent() and sendTransportEvent() methods contain a TimestampSet parameter that carries the microsecond-accurate timestamps that can be used to compute the desired statistics.
Javadoc documentation for com.apama.util.TimestampSet and com.apama.util.TimestampConfig classes is provided as part of the Apama documentation set. See the API Reference for Java (Javadoc).

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.