Skip navigation links
A B C D E F G H I L M N P R S T U V W Y 

A

AbstractLifecycleEventLoop - Class in net.openhft.chronicle.threads
A parent class that: Enforces the life-cycle of an EventLoop Implements idempotency for AbstractLifecycleEventLoop.start(), AbstractLifecycleEventLoop.stop() Ensures AbstractLifecycleEventLoop.stop() only returns when the EventLoop is stopped See EventLoopLifecycle for details of the life-cycle
AbstractLifecycleEventLoop(String) - Constructor for class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
acquireExecutorService(String, int, boolean) - Method in interface net.openhft.chronicle.threads.ExecutorFactory
 
acquireExecutorService(String, int, boolean) - Static method in enum net.openhft.chronicle.threads.Threads
 
acquireExecutorService(String, int, boolean) - Method in enum net.openhft.chronicle.threads.VanillaExecutorFactory
 
acquireScheduledExecutorService(String, boolean) - Method in interface net.openhft.chronicle.threads.ExecutorFactory
 
acquireScheduledExecutorService(String, boolean) - Static method in enum net.openhft.chronicle.threads.Threads
 
acquireScheduledExecutorService(String, boolean) - Method in enum net.openhft.chronicle.threads.VanillaExecutorFactory
 
action() - Method in class net.openhft.chronicle.threads.PauserMonitor
Deprecated.
 
action() - Method in class net.openhft.chronicle.threads.TimedEventHandler
 
addHandler(EventHandler) - Method in class net.openhft.chronicle.threads.BlockingEventLoop
This can be called multiple times and each handler will be executed in its own thread
addHandler(EventHandler) - Method in class net.openhft.chronicle.threads.EventGroup
 
addHandler(EventHandler) - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
addHandler(EventHandler) - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
addHandler(EventHandler) - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
addHandlerInternal(EventHandler) - Method in class net.openhft.chronicle.threads.MediumEventLoop
Add a handler in the appropriate way given the thread adding the handler and the state of the loop
addNewHandler(EventHandler) - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
addNewHandler(EventHandler) - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
addTimingMonitor(String, long, LongSupplier, Supplier<Thread>) - Method in class net.openhft.chronicle.threads.EventGroup
 
ALLOWED_PRIORITIES - Static variable in class net.openhft.chronicle.threads.MediumEventLoop
 
ALLOWED_PRIORITIES - Static variable in class net.openhft.chronicle.threads.VanillaEventLoop
 
asyncPause() - Method in class net.openhft.chronicle.threads.LongPauser
Initiates an asynchronous pause that will last for the current phase's duration.
asyncPause() - Method in class net.openhft.chronicle.threads.MilliPauser
Initiates an asynchronous pause that will last for the previously set pause duration.
asyncPause() - Method in interface net.openhft.chronicle.threads.Pauser
Pauses "asynchronously" whereby the issuing EventHandler can pause without blocking other handlers in the EventLoop.
asyncPausing() - Method in class net.openhft.chronicle.threads.LongPauser
Checks if the pauser is currently in an asynchronous pausing state.
asyncPausing() - Method in class net.openhft.chronicle.threads.MilliPauser
Checks if the pauser is currently in an asynchronous pausing state.
asyncPausing() - Method in interface net.openhft.chronicle.threads.Pauser
Checks if the pauser is currently in an asynchronous pause state.
awaitTermination() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 

B

BALANCED - Static variable in interface net.openhft.chronicle.threads.Pauser
 
balanced() - Static method in interface net.openhft.chronicle.threads.Pauser
A balanced pauser which tries to be busy for short bursts but backs off when idle.
balancedUpToMillis(int) - Static method in interface net.openhft.chronicle.threads.Pauser
A balanced pauser which tries to be busy for short bursts but backs off when idle with a limit of max back off.
bindingAnyByDefault() - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
bindingNoneByDefault() - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
BlockingEventLoop - Class in net.openhft.chronicle.threads
Event Loop for blocking tasks.
BlockingEventLoop(EventLoop, String, Supplier<Pauser>) - Constructor for class net.openhft.chronicle.threads.BlockingEventLoop
 
BlockingEventLoop(String) - Constructor for class net.openhft.chronicle.threads.BlockingEventLoop
 
build() - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
builder() - Static method in class net.openhft.chronicle.threads.EventGroup
Create an EventGroup builder
builder() - Static method in class net.openhft.chronicle.threads.EventGroupBuilder
 
busy() - Static method in interface net.openhft.chronicle.threads.Pauser
Creates a Pauser that actively keeps the thread busy and does not employ any waiting strategies.
BusyPauser - Enum in net.openhft.chronicle.threads
Implementation of Pauser that employs a busy-wait strategy to keep the CPU actively engaged.
BusyTimedPauser - Class in net.openhft.chronicle.threads
Similar to BusyPauser but also supporting TimingPauser
BusyTimedPauser() - Constructor for class net.openhft.chronicle.threads.BusyTimedPauser
 

C

clear() - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
close() - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
closeAll(List<EventHandler>) - Static method in class net.openhft.chronicle.threads.MediumEventLoop
 
closeAll(List<EventHandler>) - Static method in class net.openhft.chronicle.threads.VanillaEventLoop
 
closeAllHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
closeAllHandlers() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
CONC_THREADS - Static variable in class net.openhft.chronicle.threads.EventGroup
 
CoreEventLoop - Interface in net.openhft.chronicle.threads
 
countPaused() - Method in enum net.openhft.chronicle.threads.BusyPauser
Always returns 0 as BusyPauser does not count pauses.
countPaused() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
Returns the count of how many times the pause() method has been called.
countPaused() - Method in class net.openhft.chronicle.threads.LongPauser
Returns the total number of pauses that have been initiated.
countPaused() - Method in class net.openhft.chronicle.threads.MilliPauser
Returns the number of times this pauser has been activated to pause the thread.
countPaused() - Method in interface net.openhft.chronicle.threads.Pauser
Returns the number of times the pauser has checked for completion.
countPaused() - Method in class net.openhft.chronicle.threads.YieldingPauser
Returns the number of times this pauser has been activated, including both busy-wait and yield iterations.

D

daemon - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
DISK_SPACE_CHECKER_NAME - Static variable in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
DiskSpaceMonitor - Enum in net.openhft.chronicle.threads
Background thread to monitor disk space free.
dumpRunningHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
dumpRunningHandlers() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
dumpRunningState(String, BooleanSupplier) - Method in interface net.openhft.chronicle.threads.CoreEventLoop
 
dumpRunningState(String, BooleanSupplier) - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
dumpThread(long, long) - Method in interface net.openhft.chronicle.threads.ThreadHolder
 

E

EventGroup - Class in net.openhft.chronicle.threads
Composes child event loops to support all HandlerPriority priorities.
EventGroup(boolean, Pauser, Pauser, String, String, String, int, String, Supplier<Pauser>, Set<HandlerPriority>, Supplier<Pauser>) - Constructor for class net.openhft.chronicle.threads.EventGroup
 
EventGroupBuilder - Class in net.openhft.chronicle.threads
Builder for EventGroup.
EventLoopLifecycle - Enum in net.openhft.chronicle.threads
The life-cycle of an event loop
EventLoops - Class in net.openhft.chronicle.threads
 
ExecutorFactory - Interface in net.openhft.chronicle.threads
 
executorFactory(ExecutorFactory) - Static method in enum net.openhft.chronicle.threads.Threads
 

F

forServices(String, long, LongSupplier, Supplier<Thread>) - Static method in enum net.openhft.chronicle.threads.ThreadMonitors
 
forServices(String, long, LongSupplier, Supplier<Thread>, BooleanSupplier, Consumer<String>) - Static method in enum net.openhft.chronicle.threads.ThreadMonitors
 
forThread(String, long, LongSupplier, Supplier<Thread>) - Static method in enum net.openhft.chronicle.threads.ThreadMonitors
 
forThread(String, long, LongSupplier, Supplier<Thread>, BooleanSupplier, Consumer<String>) - Static method in enum net.openhft.chronicle.threads.ThreadMonitors
 

G

getBalanced() - Static method in interface net.openhft.chronicle.threads.Pauser
 
getName() - Method in interface net.openhft.chronicle.threads.ThreadHolder
 
getSleepy() - Static method in interface net.openhft.chronicle.threads.Pauser
 
getThresholdPercentage() - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 

H

handle(EventLoop, EventHandler, Throwable) - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
handlerCount() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
handlerCount() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
highHandler - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 

I

interrupt(ExecutorService) - Static method in enum net.openhft.chronicle.threads.Threads
 
interruptAll() - Method in class net.openhft.chronicle.threads.NamedThreadFactory
 
isAlive() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
isAlive() - Method in class net.openhft.chronicle.threads.EventGroup
 
isAlive() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
isAlive() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
isAlive() - Method in interface net.openhft.chronicle.threads.ThreadHolder
 
isBusy() - Method in enum net.openhft.chronicle.threads.BusyPauser
Always returns true, indicating that this pauser keeps the thread busy rather than truly pausing it.
isBusy() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
Always returns true, indicating that this pauser predominantly keeps the thread busy.
isBusy() - Method in interface net.openhft.chronicle.threads.Pauser
 
isolcpus() - Method in enum net.openhft.chronicle.threads.PauserMode
Indicates whether the provided Pauser is suitable for CPU isolation.
isStarted() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
isStopped() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
isStopped() - Method in enum net.openhft.chronicle.threads.EventLoopLifecycle
 

L

LongPauser - Class in net.openhft.chronicle.threads
A Pauser that implements a pausing strategy with phases of busy waiting, yielding, and sleeping, with each phase increasing in duration up to a configured limit.
LongPauser(int, int, long, long, TimeUnit) - Constructor for class net.openhft.chronicle.threads.LongPauser
first it will busy wait, then it will yield, then sleep for a small amount of time, then increases to a large amount of time.
loopFinishedAllHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
loopFinishedAllHandlers() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
loopStartedAllHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
loopStartedAllHandlers() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
loopStartNS() - Method in interface net.openhft.chronicle.threads.CoreEventLoop
Get the System.nanoTime() at which the currently executing loop iteration started
loopStartNS - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
loopStartNS() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 

M

MediumEventLoop - Class in net.openhft.chronicle.threads
 
MediumEventLoop(EventLoop, String, Pauser, boolean, String) - Constructor for class net.openhft.chronicle.threads.MediumEventLoop
 
mediumHandlers - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
mediumHandlersArray - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
MilliPauser - Class in net.openhft.chronicle.threads
A Pauser implementation that provides precise control over thread pausing based on a specified duration in milliseconds.
MilliPauser(long) - Constructor for class net.openhft.chronicle.threads.MilliPauser
Constructs a new MilliPauser with a specified pause time in milliseconds.
millis(int) - Static method in interface net.openhft.chronicle.threads.Pauser
Creates a MilliPauser that waits for a fixed duration before resuming execution.
millis(int, int) - Static method in interface net.openhft.chronicle.threads.Pauser
Creates a Pauser that pauses with a back-off strategy, starting at a minimum millisecond interval and potentially increasing to a maximum.
MIN_BUSY - Static variable in interface net.openhft.chronicle.threads.Pauser
 
MIN_PROCESSORS - Static variable in interface net.openhft.chronicle.threads.Pauser
 
minPauseTimeMS(long) - Method in class net.openhft.chronicle.threads.MilliPauser
Sets the pause time to the minimum of the current or specified duration in milliseconds.
monitor() - Method in enum net.openhft.chronicle.threads.PauserMode
Indicates whether the provided Pauser can be monitored.
MONITOR_INITIAL_DELAY - Static variable in class net.openhft.chronicle.threads.MonitorEventLoop
 
MonitorEventLoop - Class in net.openhft.chronicle.threads
 
MonitorEventLoop(EventLoop, Pauser) - Constructor for class net.openhft.chronicle.threads.MonitorEventLoop
 
MonitorEventLoop(EventLoop, String, Pauser) - Constructor for class net.openhft.chronicle.threads.MonitorEventLoop
 
monitorThreadDelayed(long) - Method in interface net.openhft.chronicle.threads.ThreadHolder
 

N

name - Variable in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
name() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
NamedThreadFactory - Class in net.openhft.chronicle.threads
 
NamedThreadFactory(String) - Constructor for class net.openhft.chronicle.threads.NamedThreadFactory
 
NamedThreadFactory(String, Boolean) - Constructor for class net.openhft.chronicle.threads.NamedThreadFactory
 
NamedThreadFactory(String, Boolean, Integer) - Constructor for class net.openhft.chronicle.threads.NamedThreadFactory
 
NamedThreadFactory(String, Boolean, Integer, boolean) - Constructor for class net.openhft.chronicle.threads.NamedThreadFactory
 
nameWithSlash() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
net.openhft.chronicle.threads - package net.openhft.chronicle.threads
 
newHandlers - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
newThread(Runnable) - Method in class net.openhft.chronicle.threads.NamedThreadFactory
 
NO_CPU - Static variable in class net.openhft.chronicle.threads.MediumEventLoop
 
NO_EVENT_HANDLERS - Static variable in class net.openhft.chronicle.threads.MediumEventLoop
 
nonDaemonHandlerCount() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
NOT_IN_A_LOOP - Static variable in interface net.openhft.chronicle.threads.CoreEventLoop
The value returned for CoreEventLoop.loopStartNS() when the event loop is not currently executing an iteration
NotifyDiskLow - Interface in net.openhft.chronicle.threads
 
NotifyDiskLowLogWarn - Class in net.openhft.chronicle.threads
 
NotifyDiskLowLogWarn() - Constructor for class net.openhft.chronicle.threads.NotifyDiskLowLogWarn
 

P

panic(FileStore) - Method in interface net.openhft.chronicle.threads.NotifyDiskLow
 
panic(FileStore) - Method in class net.openhft.chronicle.threads.NotifyDiskLowLogWarn
 
parent - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
pause() - Method in enum net.openhft.chronicle.threads.BusyPauser
Keeps the thread actively busy by executing a very short pause at the CPU level.
pause(long, TimeUnit) - Method in enum net.openhft.chronicle.threads.BusyPauser
Throws UnsupportedOperationException as BusyPauser does not support pausing with a timeout.
pause() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
 
pause(long, TimeUnit) - Method in class net.openhft.chronicle.threads.BusyTimedPauser
Attempts to pause the thread with a specified timeout.
pause() - Method in class net.openhft.chronicle.threads.LongPauser
Pauses the current thread according to the phased pausing strategy.
pause(long, TimeUnit) - Method in class net.openhft.chronicle.threads.LongPauser
Implementation of the pause method for the LongPauser.
pause() - Method in class net.openhft.chronicle.threads.MilliPauser
Pauses the current thread for the configured duration using millisecond precision.
pause(long, TimeUnit) - Method in class net.openhft.chronicle.threads.MilliPauser
Pauses the current thread for a specified duration in milliseconds.
pause() - Method in interface net.openhft.chronicle.threads.Pauser
Pauses the current thread.
pause(long, TimeUnit) - Method in interface net.openhft.chronicle.threads.Pauser
pause(long, TimeUnit) - Method in interface net.openhft.chronicle.threads.TimingPauser
Pauses but keep tracks of accumulated pause time and throws if timeout exceeded
pause() - Method in class net.openhft.chronicle.threads.YieldingPauser
Pauses the thread by either busy-waiting or yielding, depending on the number of iterations specified by minBusy.
pause(long, TimeUnit) - Method in class net.openhft.chronicle.threads.YieldingPauser
Pauses the thread with a timeout.
pauser - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
Pauser - Interface in net.openhft.chronicle.threads
Provides a suite of factory methods for creating various Pauser objects, each offering different strategies for managing thread execution.
Pauser.SleepyWarning - Enum in net.openhft.chronicle.threads
 
PauserMode - Enum in net.openhft.chronicle.threads
Provides factory methods for creating various types of Pauser objects.
PauserMonitor - Class in net.openhft.chronicle.threads
Deprecated.
PauserMonitor(Pauser, String, int) - Constructor for class net.openhft.chronicle.threads.PauserMonitor
Deprecated.
 
pauseTimeMS(long) - Method in class net.openhft.chronicle.threads.MilliPauser
Sets the pause time to a specified duration in milliseconds.
pauseTimeMS() - Method in class net.openhft.chronicle.threads.MilliPauser
Retrieves the current pause time in milliseconds.
PERF_ENABLED - Static variable in class net.openhft.chronicle.threads.PauserMonitor
Deprecated.
 
performClose() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
performClose() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
performClose() - Method in class net.openhft.chronicle.threads.EventGroup
 
performClose() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
performClose() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
performClose() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
performStart() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
Implement whatever this event loop needs to start, will only ever be called once
performStart() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
performStart() - Method in class net.openhft.chronicle.threads.EventGroup
Starts the event loop and waits for the core (or monitor) event loop thread to start before returning (or timing out)
performStart() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
performStart() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
performStopFromNew() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
Implement a stop from EventLoopLifecycle.NEW state, should block until all handlers have had EventHandler.loopFinished() called.
performStopFromNew() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
performStopFromNew() - Method in class net.openhft.chronicle.threads.EventGroup
 
performStopFromNew() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
performStopFromNew() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
performStopFromStarted() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
Implement a stop from EventLoopLifecycle.STARTED state, should block until all handlers have completed their final iteration and had EventHandler.loopFinished() called.
performStopFromStarted() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
performStopFromStarted() - Method in class net.openhft.chronicle.threads.EventGroup
 
performStopFromStarted() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
performStopFromStarted() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
pollDiskSpace(File) - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
priority() - Method in class net.openhft.chronicle.threads.PauserMonitor
Deprecated.
 
priority() - Method in interface net.openhft.chronicle.threads.ThreadMonitor
 
priority() - Method in class net.openhft.chronicle.threads.TimedEventHandler
 

R

removeHandler(EventHandler, List<EventHandler>) - Static method in class net.openhft.chronicle.threads.MediumEventLoop
 
renderStackTrace(StringBuilder, StackTraceElement[]) - Static method in enum net.openhft.chronicle.threads.Threads
Render a stack trace
reportFinished() - Method in interface net.openhft.chronicle.threads.ThreadHolder
 
reset() - Method in enum net.openhft.chronicle.threads.BusyPauser
Does nothing as BusyPauser does not maintain state that requires resetting.
reset() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
 
reset() - Method in class net.openhft.chronicle.threads.LongPauser
 
reset() - Method in class net.openhft.chronicle.threads.MilliPauser
 
reset() - Method in interface net.openhft.chronicle.threads.Pauser
Resets the pauser's internal state back (if any) to the most aggressive setting.
reset() - Method in class net.openhft.chronicle.threads.YieldingPauser
 
resetTimers() - Method in interface net.openhft.chronicle.threads.ThreadHolder
 
run() - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
run() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
run() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
runAllHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
runDaemonHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
runDaemonHandlers() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
runsInsideCoreLoop() - Method in class net.openhft.chronicle.threads.EventGroup
 
runsInsideCoreLoop() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
runTimerHandlers() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
runTimerHandlers() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 

S

service - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
setThresholdPercentage(int) - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
setTimeProvider(TimeProvider) - Method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
setupTimeLimitMonitor(long, LongSupplier) - Method in class net.openhft.chronicle.threads.EventGroup
 
shouldLog(long) - Method in interface net.openhft.chronicle.threads.ThreadHolder
 
shutdown(ExecutorService, boolean) - Static method in enum net.openhft.chronicle.threads.Threads
 
shutdown(ExecutorService) - Static method in enum net.openhft.chronicle.threads.Threads
Shutdown a ExecutorService.
shutdownDaemon(ExecutorService) - Static method in enum net.openhft.chronicle.threads.Threads
Shutdown a daemon ExecutorService.
SLEEPY - Static variable in interface net.openhft.chronicle.threads.Pauser
 
sleepy() - Static method in interface net.openhft.chronicle.threads.Pauser
A sleepy pauser which yields for a millisecond, then sleeps for 1 to 20 ms
start() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
startedNS() - Method in interface net.openhft.chronicle.threads.ThreadHolder
Get the System.nanoTime() at which the currently executing loop iteration started
stop() - Method in class net.openhft.chronicle.threads.AbstractLifecycleEventLoop
 
stopAll(Object...) - Static method in class net.openhft.chronicle.threads.EventLoops
Stop many EventLoops concurrently using ForkJoinPool.commonPool()

T

thread() - Method in interface net.openhft.chronicle.threads.CoreEventLoop
 
thread - Variable in class net.openhft.chronicle.threads.MediumEventLoop
 
thread() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
threadGroupPrefix() - Static method in enum net.openhft.chronicle.threads.Threads
 
ThreadHolder - Interface in net.openhft.chronicle.threads
 
ThreadMonitor - Interface in net.openhft.chronicle.threads
 
ThreadMonitors - Enum in net.openhft.chronicle.threads
 
Threads - Enum in net.openhft.chronicle.threads
 
TIME_TAKEN_WARN_THRESHOLD_US - Static variable in enum net.openhft.chronicle.threads.DiskSpaceMonitor
 
timedAction() - Method in class net.openhft.chronicle.threads.TimedEventHandler
Perform an action
timedBusy() - Static method in interface net.openhft.chronicle.threads.Pauser
Creates a TimingPauser that keeps the thread busy but also incorporates timed waits.
TimedEventHandler - Class in net.openhft.chronicle.threads
 
TimedEventHandler() - Constructor for class net.openhft.chronicle.threads.TimedEventHandler
 
TimeoutPauser - Class in net.openhft.chronicle.threads
Deprecated.
TimeoutPauser(int) - Constructor for class net.openhft.chronicle.threads.TimeoutPauser
Deprecated.
first it will busy wait, then it will yield.
timePaused() - Method in enum net.openhft.chronicle.threads.BusyPauser
Always returns 0 as BusyPauser does not track paused time.
timePaused() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
Always returns 0 as this pauser does not actually track total pause time.
timePaused() - Method in class net.openhft.chronicle.threads.LongPauser
Returns the total time that the thread has been paused, in milliseconds.
timePaused() - Method in class net.openhft.chronicle.threads.MilliPauser
Returns the total time that the thread has been paused, measured in milliseconds.
timePaused() - Method in interface net.openhft.chronicle.threads.Pauser
Returns the paused time so far in milliseconds.
timePaused() - Method in class net.openhft.chronicle.threads.YieldingPauser
Returns the total time this pauser has spent yielding, measured in milliseconds.
timerIntervalMS() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
timerIntervalMS() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
TIMING_ERROR - Static variable in interface net.openhft.chronicle.threads.ThreadHolder
 
TimingPauser - Interface in net.openhft.chronicle.threads
Marker interface to show we support TimingPauser.pause(long, TimeUnit)
timingToleranceNS() - Method in interface net.openhft.chronicle.threads.ThreadHolder
 
toString() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
toString() - Method in enum net.openhft.chronicle.threads.BusyPauser
Provides a string representation of this pauser, identifying it as "PauserMode.busy".
toString() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
Provides a string representation for this pauser, identifying it as "PauserMode.timedBusy".
toString() - Method in class net.openhft.chronicle.threads.LongPauser
Provides a human-readable description of the pauser's configuration.
toString() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
toString() - Method in class net.openhft.chronicle.threads.MilliPauser
Provides a string representation of this pauser, identifying the configured pause time.
toString() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
toString() - Method in class net.openhft.chronicle.threads.PauserMonitor
Deprecated.
 
toString() - Method in class net.openhft.chronicle.threads.VanillaEventLoop
 
toString() - Method in class net.openhft.chronicle.threads.YieldingPauser
Provides a string representation of this pauser, which varies based on the minBusy configuration.

U

unpark(ExecutorService) - Static method in enum net.openhft.chronicle.threads.Threads
 
unpause() - Method in class net.openhft.chronicle.threads.BlockingEventLoop
 
unpause() - Method in enum net.openhft.chronicle.threads.BusyPauser
Does nothing as BusyPauser has no pausing state to unpause from.
unpause() - Method in class net.openhft.chronicle.threads.BusyTimedPauser
Does nothing since this implementation has no state to unpause from.
unpause() - Method in class net.openhft.chronicle.threads.EventGroup
 
unpause() - Method in class net.openhft.chronicle.threads.LongPauser
 
unpause() - Method in class net.openhft.chronicle.threads.MediumEventLoop
 
unpause() - Method in class net.openhft.chronicle.threads.MilliPauser
Unpauses the currently paused thread if it is in a paused state.
unpause() - Method in class net.openhft.chronicle.threads.MonitorEventLoop
 
unpause() - Method in interface net.openhft.chronicle.threads.Pauser
Try to cancel the pausing if it is pausing.
unpause() - Method in class net.openhft.chronicle.threads.YieldingPauser
 
updateHighHandler(EventHandler) - Method in class net.openhft.chronicle.threads.MediumEventLoop
This check/assignment needs to be atomic
updateMediumHandlersArray() - Method in class net.openhft.chronicle.threads.MediumEventLoop
This copy needs to be atomic

V

valueOf(String) - Static method in enum net.openhft.chronicle.threads.BusyPauser
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.EventLoopLifecycle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.Pauser.SleepyWarning
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.PauserMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.ThreadMonitors
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.Threads
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.threads.VanillaExecutorFactory
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.openhft.chronicle.threads.BusyPauser
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.DiskSpaceMonitor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.EventLoopLifecycle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.Pauser.SleepyWarning
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.PauserMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.ThreadMonitors
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.Threads
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.threads.VanillaExecutorFactory
Returns an array containing the constants of this enum type, in the order they are declared.
VanillaEventLoop - Class in net.openhft.chronicle.threads
 
VanillaEventLoop(EventLoop, String, Pauser, long, boolean, String, Set<HandlerPriority>) - Constructor for class net.openhft.chronicle.threads.VanillaEventLoop
 
VanillaExecutorFactory - Enum in net.openhft.chronicle.threads
 

W

warning(double, FileStore) - Method in interface net.openhft.chronicle.threads.NotifyDiskLow
 
warning(double, FileStore) - Method in class net.openhft.chronicle.threads.NotifyDiskLowLogWarn
 
withBinding(String) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withBlockingPauserSupplier(Supplier<Pauser>) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withConcurrentBinding(String) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withConcurrentPauserSupplier(Supplier<Pauser>) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withConcurrentThreadsNum(int) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withDaemon(boolean) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withName(String) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withPauser(Pauser) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withPriorities(Set<HandlerPriority>) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withPriorities(HandlerPriority, HandlerPriority...) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withReplicationBinding(String) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 
withReplicationPauser(Pauser) - Method in class net.openhft.chronicle.threads.EventGroupBuilder
 

Y

yielding(int) - Static method in interface net.openhft.chronicle.threads.Pauser
Returns a Pauser that either yields, pauses, or does not wait at all, based on system capabilities.
yielding() - Static method in interface net.openhft.chronicle.threads.Pauser
Provides a simple Pauser that is more process-friendly by yielding the thread execution.
YieldingPauser - Class in net.openhft.chronicle.threads
This pauser is designed for situations where short bursts of busyness are acceptable before yielding, aiming to balance responsiveness with CPU usage.
YieldingPauser(int) - Constructor for class net.openhft.chronicle.threads.YieldingPauser
Constructs a YieldingPauser with a specified threshold for busy waiting.
A B C D E F G H I L M N P R S T U V W Y 
Skip navigation links

Copyright © 2024. All rights reserved.