Package com.caplin.motif
Interface ThreadMode
-
- All Known Implementing Classes:
ThreadMode.NewThread
,ThreadMode.SharedThreads
public interface ThreadMode
Interface for a thread mode. Each thread mode must provide a single threaded executor on request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ThreadMode.NewThread
Will provide each trade a unique executor.static interface
ThreadMode.ScheduledExecutorWrapper
static class
ThreadMode.SharedThreads
Will provide each trade an executor which will be shared by many trades.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreadMode.ScheduledExecutorWrapper
getScheduledExecutorWrapper()
-
-
-
Method Detail
-
getScheduledExecutorWrapper
ThreadMode.ScheduledExecutorWrapper getScheduledExecutorWrapper()
-
-