Uses of Interface
io.debezium.util.Threads.TimeSince
-
Uses of Threads.TimeSince in io.debezium.util
Modifier and TypeMethodDescriptionstatic Threads.TimeSince
Obtain aThreads.TimeSince
that uses the given clock to record the time elapsed.Modifier and TypeMethodDescriptionstatic Thread
Threads.interruptAfterTimeout
(String threadName, long timeout, TimeUnit timeoutUnit, Threads.TimeSince elapsedTimer) Create a thread that will interrupt the calling thread when theelapsed time
has exceeded the specified amount.static Thread
Threads.interruptAfterTimeout
(String threadName, long timeout, TimeUnit timeoutUnit, Threads.TimeSince elapsedTimer, Thread threadToInterrupt) Create a thread that will interrupt the given thread when theelapsed time
has exceeded the specified amount.static Thread
Threads.timeout
(String threadName, long timeout, TimeUnit timeoutUnit, long sleepInterval, TimeUnit sleepUnit, Threads.TimeSince elapsedTimer, Runnable uponTimeout) Create a thread that will call the supplied function when theelapsed time
has exceeded the specified amount.static Thread
Threads.timeout
(String threadName, long timeout, TimeUnit timeoutUnit, Threads.TimeSince elapsedTimer, Runnable uponTimeout) Create a thread that will call the supplied function when theelapsed time
has exceeded the specified amount.