public interface MetadataService extends Service
Modifier and Type | Field and Description |
---|---|
static String |
REFRESH_METADATA_SIGNAL
The refresh metadata signal name.
|
MIDNIGHT_EVENT, PING_SIGNAL, PONG_EVENT, RESTART_NOW_SIGNAL, RESTART_SIGNAL, RESUME_SIGNAL, RESUMED_EVENT, STARTED_EVENT, STOP_NOW_SIGNAL, STOP_SIGNAL, STOPPED_EVENT, SUSPEND_SIGNAL, SUSPENDED_EVENT, WATCHDOG_EVENT, ZOMBIE_EVENT
Modifier and Type | Method and Description |
---|---|
Metadata |
getMetadata()
Gets the service metadata.
|
boolean |
loadMetadata(MetadataFilter metadataFilter)
Loads the metadata.
|
void |
monitorStores()
Monitors stores.
|
boolean |
reloadMetadata()
Reloads the metadata.
|
void |
resetPointsStore()
Resets the association of the points to their store.
|
addAlertListener, disableSuspend, enableSuspend, exportAgent, getAlerter, getConfig, getDataDir, getEntityName, getJoinTimeout, getOptionalSourceUUID, getServiceActivator, getServiceUUID, getSourceUUID, isRunning, isStarted, isStopped, isStopping, isWait, isZombie, monitorService, registerServer, removeAlertListener, restart, restoreConfigState, restoreMonitored, resume, saveConfigState, saveMonitored, sendAlert, sendEvent, sendSignal, setRestartEnabled, setSourceUUID, starting, stopping, suspend, trySuspend, unregisterServer
addStats, fail, getServiceName, getStats, getTimer, isJMXRegistrationEnabled, snooze, starting, stopping, wakeUp
static final String REFRESH_METADATA_SIGNAL
@Nonnull @CheckReturnValue Metadata getMetadata()
Promoted to public access to help the service tests.
@CheckReturnValue boolean loadMetadata(@Nonnull MetadataFilter metadataFilter)
metadataFilter
- The metadata filter.void monitorStores()
@CheckReturnValue boolean reloadMetadata()
void resetPointsStore() throws ServiceNotAvailableException
ServiceNotAvailableException
- When the service is not available.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.