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
Modifier and TypeInterfaceDescriptionstatic final class
Will provide each trade a unique executor.static interface
static final class
Will provide each trade an executor which will be shared by many trades. -
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getScheduledExecutorWrapper
ThreadMode.ScheduledExecutorWrapper getScheduledExecutorWrapper()
-