Uses of Interface
io.debezium.util.Threads.TimeSince
Packages that use Threads.TimeSince
-
Uses of Threads.TimeSince in io.debezium.util
Methods in io.debezium.util that return Threads.TimeSinceModifier and TypeMethodDescriptionstatic Threads.TimeSinceObtain aThreads.TimeSincethat uses the given clock to record the time elapsed.Methods in io.debezium.util with parameters of type Threads.TimeSinceModifier and TypeMethodDescriptionstatic ThreadThreads.interruptAfterTimeout(String threadName, long timeout, TimeUnit timeoutUnit, Threads.TimeSince elapsedTimer) Create a thread that will interrupt the calling thread when theelapsed timehas exceeded the specified amount.static ThreadThreads.interruptAfterTimeout(String threadName, long timeout, TimeUnit timeoutUnit, Threads.TimeSince elapsedTimer, Thread threadToInterrupt) Create a thread that will interrupt the given thread when theelapsed timehas exceeded the specified amount.static ThreadThreads.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 timehas exceeded the specified amount.static ThreadThreads.timeout(String threadName, long timeout, TimeUnit timeoutUnit, Threads.TimeSince elapsedTimer, Runnable uponTimeout) Create a thread that will call the supplied function when theelapsed timehas exceeded the specified amount.