Package com.yahoo.documentapi.messagebus
Class MessageBusVisitorSession.ThreadAsyncTaskExecutor
- java.lang.Object
-
- com.yahoo.documentapi.messagebus.MessageBusVisitorSession.ThreadAsyncTaskExecutor
-
- All Implemented Interfaces:
MessageBusVisitorSession.AsyncTaskExecutor
- Enclosing class:
- MessageBusVisitorSession
public static class MessageBusVisitorSession.ThreadAsyncTaskExecutor extends java.lang.Object implements MessageBusVisitorSession.AsyncTaskExecutor
-
-
Constructor Summary
Constructors Constructor Description ThreadAsyncTaskExecutor(java.util.concurrent.ScheduledExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
scheduleTask(java.lang.Runnable task, long delay, java.util.concurrent.TimeUnit unit)
void
submitTask(java.lang.Runnable task)
-
-
-
Method Detail
-
submitTask
public void submitTask(java.lang.Runnable task)
- Specified by:
submitTask
in interfaceMessageBusVisitorSession.AsyncTaskExecutor
-
scheduleTask
public void scheduleTask(java.lang.Runnable task, long delay, java.util.concurrent.TimeUnit unit)
- Specified by:
scheduleTask
in interfaceMessageBusVisitorSession.AsyncTaskExecutor
-
-