Package com.castlabs.sdk.debug.view
Class RateLimitTraces
java.lang.Object
com.castlabs.sdk.debug.view.RateLimitTraces
This class is responsible for displaying the rate limit traces.
- 
Constructor SummaryConstructorsConstructorDescriptionRateLimitTraces(View parent, RateLimiter rateLimiter) Constructor for the RateLimitTraces class.
- 
Method Summary
- 
Constructor Details- 
RateLimitTracesConstructor for the RateLimitTraces class.- Parameters:
- parent- The parent view.
- rateLimiter- The rate limiter.
 
 
- 
- 
Method Details- 
startpublic void start(@Nullable com.github.mikephil.charting.charts.LineChart chart) Starts the rate tracer.- Parameters:
- chart- The chart to update.
 
- 
stoppublic void stop()Stops the rate tracer.
- 
isRunningpublic boolean isRunning()Returns whether the rate tracer is running.- Returns:
- True if the rate tracer is running, false otherwise.
 
- 
restartpublic void restart()Restarts the rate tracer.
 
-