Package ai.platon.pulsar.loop
Class TaskLoops
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.StartStopRunnable,java.lang.AutoCloseable
public final class TaskLoops implements StartStopRunnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTaskLoops.Companion
-
Method Summary
Modifier and Type Method Description BooleanisRunning()final List<TaskLoop>getLoops()final <Error class: unknown class>first()final <Error class: unknown class>last()final <T extends TaskLoop> <Error class: unknown class>firstIsInstance()final <T extends TaskLoop> <Error class: unknown class>lastIsInstance()Unitstart()Start all loops matching the filter if not started. Unitstop()Stop all loops matching the filter if started. Unitawait()-
-
Method Detail
-
first
final <Error class: unknown class> first()
-
last
final <Error class: unknown class> last()
-
firstIsInstance
final <T extends TaskLoop> <Error class: unknown class> firstIsInstance()
-
lastIsInstance
final <T extends TaskLoop> <Error class: unknown class> lastIsInstance()
-
-
-
-