public abstract class StoreServiceImpl extends MetadataServiceAppHolderImpl
SERVICE_APP_CLASS_PROPERTY
DEFAULT_JOIN_TIMEOUT, DEFAULT_RESTART_DELAY, DEFAULT_STARTING_EXTEND, DEFAULT_STOPPING_EXTEND, DEPENDENCY_PROPERTY, JOIN_TIMEOUT_PROPERTY, MEMORY_LOG_INTERVAL_PROPERTY, MONITOR_DISABLED_PROPERTY, RESTART_ALLOWED_PROPERTY, RESTART_DELAY_PROPERTY, RESTART_IGNORED_PROPERTY, SERVICE_LOG_ID_PROPERTY, SERVICE_UUID_PROPERTY, STARTING_EXTEND_PROPERTY, STARTUP_DELAY_PROPERTY, STATS_LOG_ENABLED_PROPERTY, STOPPING_EXTEND_PROPERTY, ZOMBIE_ENABLED_PROPERTY
REFRESH_METADATA_SIGNAL
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
Constructor and Description |
---|
StoreServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected StoreStats |
createStats(StatsOwner statsOwner)
Creates a stats instance.
|
StoreServer |
getServer()
Gets the server.
|
String |
getServerName()
Gets the server name.
|
Optional<StoreEntity> |
getStoreEntity()
Gets the store entity.
|
doPendingActions, doStart, doStop, getEntityName, getMetadataServiceApp, getServiceAppClassDef, newMetadataServiceApp, onAlert, onEvent, onNewMetadata, onServicesNotReady, onSignal, setUp, tearDown
getMetadata, hasMetadata, loadMetadata, monitorStores, reloadMetadata, resetPointsStore, tearDownConfig
addAlertListener, cancelRestarters, disableSuspend, doRun, enableSuspend, exportAgent, fail, getAlerter, getConfig, getDataDir, getJoinTimeout, getMutex, getOptionalSourceUUID, getServiceActivator, getServiceUUID, getSourceUUID, isJMXRegistrationEnabled, isRunning, isStarted, isStopped, isStopping, isWait, isZombie, monitorService, onServiceStartFailure, registerServer, removeAlertListener, restart, restoreConfigState, restoreMonitored, resume, run, saveConfigState, saveMonitored, sendAlert, sendEvent, sendSignal, setRestartEnabled, setRestartSignaled, setSourceUUID, starting, stopping, suspend, trySuspend, unregisterServer
addStats, closeSnoozeAlarm, getLogID, getServiceActivatorBase, getServiceName, getStats, getThisLogger, getThread, getTimer, getVersion, interrupt, isCurrentThread, isThreadStarted, join, logStats, scheduleMidnightLogger, setLogID, setServiceActivatorBase, setServiceName, snooze, starting, startThread, startTimer, stopping, stopTimer, toString, uncaughtException, updateStats, wakeUp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAlertListener, disableSuspend, enableSuspend, exportAgent, getAlerter, getConfig, getDataDir, 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
@Nonnull @CheckReturnValue public final StoreServer getServer()
@Nonnull @CheckReturnValue public final String getServerName()
@Nonnull @CheckReturnValue public Optional<StoreEntity> getStoreEntity()
protected final StoreStats createStats(StatsOwner statsOwner)
createStats
in class MetadataServiceAppHolderImpl
statsOwner
- The stats owner.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.