public class SentinelPollOutagesDao extends AbstractPollOutagesDao
JSON_STORE_KEY
Constructor and Description |
---|
SentinelPollOutagesDao(JsonStore jsonStore) |
Modifier and Type | Method and Description |
---|---|
Outages |
getReadOnlyConfig()
Get the current configuration.
|
void |
reload()
Instructs the DAO to reload the configuration from the backing data source immediately.
|
getEndOfOutage, getEndOfOutage, getInterfaces, getNodeIds, getOutageTimes, getOutageType, isCurTimeInOutage, isCurTimeInOutage, isInterfaceInOutage, isInterfaceInOutage, isNodeIdInOutage, isNodeIdInOutage, isTimeInOutage, isTimeInOutage, isTimeInOutage
public SentinelPollOutagesDao(JsonStore jsonStore)
public Outages getReadOnlyConfig()
ReadableDao
ReadableDao.reload()
.
The value returned by this method may be the result of merging multiple objects together. As a result, mutations
to this object may not be visible to other readers and are not permitted.
For cases where mutation and/or persistence of changes is required see WriteableDao.getWriteableConfig()
.public void reload()
ReadableDao
ReadableDao.getReadOnlyConfig()
yields the up to date configuration.Copyright © 2020. All rights reserved.