Package org.openremote.model
Interface Container
public interface Container
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.MeterRegistry
Get theMeterRegistry
to use for micrometer metrics gathering<T extends ContainerService>
TgetService
(Class<T> type) <T extends ContainerService>
Collection<T> getServices
(Class<T> type) <T extends ContainerService>
booleanhasService
(Class<T> type) boolean
-
Field Details
-
OR_DEV_MODE
- See Also:
-
OR_DEV_MODE_DEFAULT
static final boolean OR_DEV_MODE_DEFAULT- See Also:
-
OR_METRICS_ENABLED
- See Also:
-
OR_METRICS_ENABLED_DEFAULT
static final boolean OR_METRICS_ENABLED_DEFAULT- See Also:
-
-
Method Details
-
isDevMode
boolean isDevMode() -
getConfig
-
getServices
ContainerService[] getServices() -
getScheduledExecutor
ScheduledExecutorService getScheduledExecutor() -
getExecutor
ExecutorService getExecutor() -
getServices
-
getService
- Throws:
IllegalStateException
-
hasService
-
getMeterRegistry
io.micrometer.core.instrument.MeterRegistry getMeterRegistry()Get theMeterRegistry
to use for micrometer metrics gathering- Returns:
- Null if metrics has been disabled
-