Skip navigation links
A B C D G M N R S 

A

at.borkowski.spicej.rt - package at.borkowski.spicej.rt
 

B

BUSY_WAITING_THRESHOLD - Static variable in class at.borkowski.spicej.rt.RealTimeTickSource
The threshold below which busy waiting is employed.

C

calculate(long) - Static method in class at.borkowski.spicej.rt.DelayCalculator
Returns a result for the given delay in nanoseconds and the default epsilon value (DelayCalculator.DEFAULT_EPSILON).
calculate(long, float) - Static method in class at.borkowski.spicej.rt.DelayCalculator
Returns a result for the given delay and epsilon (error rate).
calculate(float) - Static method in class at.borkowski.spicej.rt.RateCalculator
Performs a calculation with the default minimal interval (see RateCalculator.MIN_INTERVAL_NS).
calculate(float, int) - Static method in class at.borkowski.spicej.rt.RateCalculator
Performs a calculation with the given minimal interval.

D

DEFAULT_EPSILON - Static variable in class at.borkowski.spicej.rt.DelayCalculator
The default epsilon value (see DelayCalculator).
DelayCalculator - Class in at.borkowski.spicej.rt
A utility class allowing easy calculation of parameters required for creating a DelayedInputStream with real-time delay.
DelayCalculator.Result - Class in at.borkowski.spicej.rt
 

G

getBytesPerTick() - Method in class at.borkowski.spicej.rt.RateCalculator.Result
 
getDelay() - Method in class at.borkowski.spicej.rt.DelayCalculator.Result
 
getPrescale() - Method in class at.borkowski.spicej.rt.RateCalculator.Result
 
getTickNanosecondsInterval() - Method in class at.borkowski.spicej.rt.DelayCalculator.Result
 
getTickNanosecondsInterval() - Method in class at.borkowski.spicej.rt.RateCalculator.Result
 

M

MAX_BYTES_PER_TICK - Static variable in class at.borkowski.spicej.rt.RateCalculator
The enforced upper bound for bytes per tick.
MAX_ERROR - Static variable in class at.borkowski.spicej.rt.RateCalculator
The error margin permitted for calculations.
MAX_INTERVAL - Static variable in class at.borkowski.spicej.rt.DelayCalculator
The highest acceptable inverval.
MAX_INTERVAL_NS - Static variable in class at.borkowski.spicej.rt.RateCalculator
The enforced upper bound for the interval.
MAX_RATE - Static variable in class at.borkowski.spicej.rt.RateCalculator
The highest byte rate representable with our data model (this is not necessarily the exact maximum value, but a value close enough to the maximum upper bound.
MILLISECOND_THRESHOLD - Static variable in class at.borkowski.spicej.rt.RealTimeTickSource
The threshold above which a different implementation of the internal timer is used, which is only considering milliseconds.
MIN_INTERVAL_NS - Static variable in class at.borkowski.spicej.rt.RateCalculator
The default enforced lower bound for the interval.
MIN_RATE - Static variable in class at.borkowski.spicej.rt.RateCalculator
The minimum byte rate representable with our data model (this is not necessarily the exact minimum value, but a value close enough to the minimum lower bound.

N

NS_PER_S - Static variable in class at.borkowski.spicej.rt.RateCalculator
Nanoseconds per second.

R

RateCalculator - Class in at.borkowski.spicej.rt
A utility class for calculating parameters necessary for rate limitation of bytes per seconds.
RateCalculator.Result - Class in at.borkowski.spicej.rt
 
RealTimeTickSource - Class in at.borkowski.spicej.rt
A tick source bound to real time.
RealTimeTickSource(long) - Constructor for class at.borkowski.spicej.rt.RealTimeTickSource
Creates a running real time tick source with ticks generated at the given interval.
RealTimeTickSource(long, boolean) - Constructor for class at.borkowski.spicej.rt.RealTimeTickSource
Creates a tick source with ticks generated at the given interval.
removeListener(TickListener) - Method in class at.borkowski.spicej.rt.RealTimeTickSource
If the last tick listener has been removed from this source, it shuts itself down via RealTimeTickSource.stop(), if it's not set to keepAlive mode using RealTimeTickSource.setKeepAlive(boolean).
reset() - Method in class at.borkowski.spicej.rt.RealTimeTickSource
 
Result(int, int, int) - Constructor for class at.borkowski.spicej.rt.RateCalculator.Result
 
ROUND - Static variable in class at.borkowski.spicej.rt.RateCalculator
The rounding mode (see BigDecimal) used for internal calculation.

S

SCALE - Static variable in class at.borkowski.spicej.rt.RateCalculator
The scale (see BigDecimal) used for internal calculations.
setKeepAlive(boolean) - Method in class at.borkowski.spicej.rt.RealTimeTickSource
Sets the keepAlive mode of this tick source.
start() - Method in class at.borkowski.spicej.rt.RealTimeTickSource
Starts generating tick events, starting from 0.
stop() - Method in class at.borkowski.spicej.rt.RealTimeTickSource
Stops generating tick events.
A B C D G M N R S 
Skip navigation links

Copyright © 2015. All rights reserved.