Class RuntimeImpl
java.lang.Object
com.caplin.datasource.blotter.impl.RuntimeImpl
- All Implemented Interfaces:
com.caplin.container.impl.Runtime
-
Constructor Summary
ConstructorDescriptionRuntimeImpl
(com.caplin.datasource.DataSource dataSource, BlotterConfiguration configuration, com.caplin.datasource.publisher.ActivePublisher containerPublisher, com.caplin.datasource.publisher.ActivePublisher recordPublisher) -
Method Summary
Modifier and TypeMethodDescriptionlong
void
com.caplin.container.impl.logger.LogLevel
com.caplin.monitoring.impl.MonitoringService
void
void
longToString
(long value) void
publishContainerNotFound
(String subject) void
publishContainerStatusOk
(String subject) void
publishContainerStatusOk
(String subject, String message) void
publishContainerStatusStale
(String subject) void
publishContainerStatusStale
(String subject, String message) void
publishContainerUpdate
(String subject, com.caplin.container.impl.updates.ContainerUpdate update, boolean image, boolean initial) void
publishDeleteContainer
(String subject) void
publishDeleteRecord
(String subject) void
publishMappingMessage
(String subject, String mapto, boolean image) void
publishRecordNotFound
(String subject) void
publishRecordStatusOk
(String subject) void
publishRecordStatusStale
(String subject) void
publishRecordUpdate
(String subject, com.caplin.container.impl.updates.RecordUpdate update, boolean image, boolean initial) void
publishRemoveContainerElements
(String subject, List<String> elements) com.caplin.container.impl.utils.Future
void
userCallback
(Runnable runnable)
-
Constructor Details
-
RuntimeImpl
public RuntimeImpl(com.caplin.datasource.DataSource dataSource, BlotterConfiguration configuration, com.caplin.datasource.publisher.ActivePublisher containerPublisher, com.caplin.datasource.publisher.ActivePublisher recordPublisher)
-
-
Method Details
-
longToString
- Specified by:
longToString
in interfacecom.caplin.container.impl.Runtime
-
currentTimeMillis
public long currentTimeMillis()- Specified by:
currentTimeMillis
in interfacecom.caplin.container.impl.Runtime
-
publishRemoveContainerElements
- Specified by:
publishRemoveContainerElements
in interfacecom.caplin.container.impl.Runtime
-
log
- Specified by:
log
in interfacecom.caplin.container.impl.Runtime
-
log
-
getLogLevel
public com.caplin.container.impl.logger.LogLevel getLogLevel()- Specified by:
getLogLevel
in interfacecom.caplin.container.impl.Runtime
-
publishContainerNotFound
- Specified by:
publishContainerNotFound
in interfacecom.caplin.container.impl.Runtime
-
publishDeleteContainer
- Specified by:
publishDeleteContainer
in interfacecom.caplin.container.impl.Runtime
-
publishRecordNotFound
- Specified by:
publishRecordNotFound
in interfacecom.caplin.container.impl.Runtime
-
publishDeleteRecord
- Specified by:
publishDeleteRecord
in interfacecom.caplin.container.impl.Runtime
-
publishContainerStatusStale
- Specified by:
publishContainerStatusStale
in interfacecom.caplin.container.impl.Runtime
-
publishContainerStatusOk
- Specified by:
publishContainerStatusOk
in interfacecom.caplin.container.impl.Runtime
-
publishContainerStatusStale
- Specified by:
publishContainerStatusStale
in interfacecom.caplin.container.impl.Runtime
-
publishContainerStatusOk
- Specified by:
publishContainerStatusOk
in interfacecom.caplin.container.impl.Runtime
-
publishRecordStatusStale
- Specified by:
publishRecordStatusStale
in interfacecom.caplin.container.impl.Runtime
-
publishRecordStatusOk
- Specified by:
publishRecordStatusOk
in interfacecom.caplin.container.impl.Runtime
-
userCallback
- Specified by:
userCallback
in interfacecom.caplin.container.impl.Runtime
-
execute
- Specified by:
execute
in interfacecom.caplin.container.impl.Runtime
-
schedule
public com.caplin.container.impl.utils.Future schedule(Runnable runnable, long millis, Object context) - Specified by:
schedule
in interfacecom.caplin.container.impl.Runtime
-
getMonitoringService
public com.caplin.monitoring.impl.MonitoringService getMonitoringService()- Specified by:
getMonitoringService
in interfacecom.caplin.container.impl.Runtime
-
publishMappingMessage
- Specified by:
publishMappingMessage
in interfacecom.caplin.container.impl.Runtime
-
publishContainerUpdate
public void publishContainerUpdate(String subject, com.caplin.container.impl.updates.ContainerUpdate update, boolean image, boolean initial) - Specified by:
publishContainerUpdate
in interfacecom.caplin.container.impl.Runtime
-
publishRecordUpdate
public void publishRecordUpdate(String subject, com.caplin.container.impl.updates.RecordUpdate update, boolean image, boolean initial) - Specified by:
publishRecordUpdate
in interfacecom.caplin.container.impl.Runtime
-
getRandomUniqueId
- Specified by:
getRandomUniqueId
in interfacecom.caplin.container.impl.Runtime
-