Module kivakit.interfaces
Interface Stoppable<T extends LengthOfTime<T>>
- All Superinterfaces:
Operation
- All Known Implementing Classes:
BaseLog
,BaseTextLog
,ConsoleLog
,EmailSender
,KivaKitThread
,RepeatingThread
,SmtpEmailSender
An operation that can be stopped
- Author:
- jonathanl (shibo)
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
stop()
Stops this task, blocking until the operation is completedvoid
Stops this task, waiting no more than the given wait time before giving up.
-
Method Details
-
stop
Stops this task, waiting no more than the given wait time before giving up. -
stop
default void stop()Stops this task, blocking until the operation is completed -
maximumWaitTime
T maximumWaitTime()
-