T
- the entity type this DAO managespublic interface ReadableDao<T>
Modifier and Type | Method and Description |
---|---|
T |
getReadOnlyConfig()
Get the current configuration.
|
void |
reload()
Instructs the DAO to reload the configuration from the backing data source immediately.
|
T getReadOnlyConfig()
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()
.void reload()
getReadOnlyConfig()
yields the up to date configuration.Copyright © 2021. All rights reserved.