Package xal.tools
Class LatentProcessor
java.lang.Object
xal.tools.FreshProcessor
xal.tools.LatentProcessor
Process events with latency and replace any pending requests with the latest
request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the latencyprotected void
Perform post processingMethods inherited from class xal.tools.FreshProcessor
clear, post, terminate
-
Constructor Details
-
LatentProcessor
public LatentProcessor(double latency) Constructor- Parameters:
latency
- Latency in seconds between successive processing of requests. The latency should be positive.
-
-
Method Details
-
getLatency
public double getLatency()Get the latency- Returns:
- latency in seconds
-
postProcess
Perform post processing- Overrides:
postProcess
in classFreshProcessor
- Throws:
Exception
-