| Modifier and Type | Class and Description |
|---|---|
| private class | AbstractPrimaryTimer.
Hidden inner class to run the main timing loop. |
| private abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | |
| protected static final String | |
| private AbstractPrimaryTimer. | |
| private int | |
| private boolean | |
| private long | |
| protected static final boolean | |
| public static final int | |
| protected static final String | |
| private final long | |
| protected static final String | |
| private static boolean | |
| protected static final String | |
| private static Callback | |
| private final int | |
| private final int | |
| protected static final String | |
| private AbstractPrimaryTimer. | |
| private int | |
| private boolean | |
| private final AbstractPrimaryTimer. | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addPulseReceiver(PulseReceiver
the Clip to be added to the scheduling queue target)Adds a PulseReceiver to the list of targets being tracked against the global schedule. |
| public int | |
| protected abstract int | |
| public boolean | |
| public long | |
| protected abstract void | |
| protected void | |
| protected void | |
| protected void | |
| public void | |
| public void | |
| protected void |
| ADAPTIVE_PULSE_PROP | back to summary |
|---|---|
| protected static final String ADAPTIVE_PULSE_PROP | |
| ANIMATION_MBEAN_ENABLED | back to summary |
|---|---|
| protected static final String ANIMATION_MBEAN_ENABLED | |
| animationTimers | back to summary |
|---|---|
private AbstractPrimaryTimer.
| |
| animationTimersLength | back to summary |
|---|---|
| private int animationTimersLength | |
| animationTimersLocked | back to summary |
|---|---|
| private boolean animationTimersLocked | |
| debugNanos | back to summary |
|---|---|
| private long debugNanos | |
| enableAnimationMBean | back to summary |
|---|---|
| protected static final boolean enableAnimationMBean | |
| FAILING_TIMER_THRESHOLD | back to summary |
|---|---|
| public static final int FAILING_TIMER_THRESHOLD | |
| FIXED_PULSE_LENGTH_PROP | back to summary |
|---|---|
| protected static final String FIXED_PULSE_LENGTH_PROP | |
| fixedPulseLength | back to summary |
|---|---|
| private final long fixedPulseLength | |
| FRAMERATE_PROP | back to summary |
|---|---|
| protected static final String FRAMERATE_PROP | |
| fullspeed | back to summary |
|---|---|
| private static boolean fullspeed | |
| FULLSPEED_PROP | back to summary |
|---|---|
| protected static final String FULLSPEED_PROP | |
| pcl | back to summary |
|---|---|
| private static Callback<String, Void> pcl | |
| PULSE_DURATION_NS | back to summary |
|---|---|
| private final int PULSE_DURATION_NS | |
| PULSE_DURATION_TICKS | back to summary |
|---|---|
| private final int PULSE_DURATION_TICKS | |
| PULSE_PROP | back to summary |
|---|---|
| protected static final String PULSE_PROP | |
| receivers | back to summary |
|---|---|
private AbstractPrimaryTimer.
| |
| receiversLength | back to summary |
|---|---|
| private int receiversLength | |
| receiversLocked | back to summary |
|---|---|
| private boolean receiversLocked | |
| theMainLoop | back to summary |
|---|---|
| private final AbstractPrimaryTimer. | |
| useAdaptivePulse | back to summary |
|---|---|
| private static boolean useAdaptivePulse | |
| AbstractPrimaryTimer | back to summary |
|---|---|
| protected AbstractPrimaryTimer() | |
| addAnimationTimer | back to summary |
|---|---|
| public void addAnimationTimer(TimerReceiver timer) | |
| addPulseReceiver | back to summary |
|---|---|
| public void addPulseReceiver(PulseReceiver target) Adds a PulseReceiver to the list of targets being tracked against the global schedule. The target should already have an absolute start time recorded in it and that time will be used to start the clip at the appropriate wall clock time as defined by milliTime(). Note that pulseReceiver cannot be removed from the PrimaryTimer directly. It is removed automatically in the timePulse-iteration if timePulse returns true.
| |
| getDefaultResolution | back to summary |
|---|---|
| public int getDefaultResolution() | |
| getPulseDuration | back to summary |
|---|---|
| protected abstract int getPulseDuration(int precision) | |
| isFullspeed | back to summary |
|---|---|
| public boolean isFullspeed() | |
| nanos | back to summary |
|---|---|
| public long nanos() | |
| postUpdateAnimationRunnable | back to summary |
|---|---|
| protected abstract void postUpdateAnimationRunnable(DelayedRunnable animationRunnable) | |
| recordAnimationEnd | back to summary |
|---|---|
| protected void recordAnimationEnd() | |
| recordEnd | back to summary |
|---|---|
| protected void recordEnd() | |
| recordStart | back to summary |
|---|---|
| protected void recordStart(long shiftMillis) | |
| removeAnimationTimer | back to summary |
|---|---|
| public void removeAnimationTimer(TimerReceiver timer) | |
| removePulseReceiver | back to summary |
|---|---|
| public void removePulseReceiver(PulseReceiver target) | |
| timePulseImpl | back to summary |
|---|---|
| protected void timePulseImpl(long now) | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public void | |
| private void | |
| private void |
| inactive | back to summary |
|---|---|
| private boolean inactive | |
| lastPulseDuration | back to summary |
|---|---|
| private long lastPulseDuration | |
| nextPulseTime | back to summary |
|---|---|
| private long nextPulseTime | |
| MainLoop | back to summary |
|---|---|
| private MainLoop() | |
| getDelay | back to summary |
|---|---|
| public long getDelay() Implements com. Doc from com. Gets the delay in milliseconds.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| updateAnimationRunnable | back to summary |
|---|---|
| private void updateAnimationRunnable() | |
| updateNextPulseTime | back to summary |
|---|---|
| private void updateNextPulseTime(long pulseStarted) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv static AbstractPrimaryTimer. | |
| pack-priv static AbstractPrimaryTimer. | |
| pack-priv abstract T | |
| pack-priv abstract Class |
| exceptionsThrown | back to summary |
|---|---|
| pack-priv int exceptionsThrown | |
| ReceiverRecord | back to summary |
|---|---|
| private ReceiverRecord() | |
| handleException | back to summary |
|---|---|
| pack-priv void handleException(Throwable e) | |
| ofAnimationTimer | back to summary |
|---|---|
| pack-priv static AbstractPrimaryTimer. | |
| ofPulseReceiver | back to summary |
|---|---|
| pack-priv static AbstractPrimaryTimer. | |
| receiver | back to summary |
|---|---|
| pack-priv abstract T receiver() | |
| type | back to summary |
|---|---|
| pack-priv abstract Class | |