public interface IBigDataManagerSPI extends IBigDataManager
Modifier and Type | Method and Description |
---|---|
void |
destroy(boolean shutdown)
Destroy all repositories in this manager and free any required resources.
|
SynonymsStatus |
getSynonymsStatus()
Returns the synonyms status.
|
boolean |
isThereSynonymsWithLocale(Locale locale)
Returns whether there are
synonyms for the given locale. |
void |
publishSynonyms(boolean forcePublish)
Writes the synonyms files and reloaded them into the repository .If status is SynonymsStatus.UPDATED , nothing will be performed, unless forcePublish parameter is true . |
addSynonym, createSynonym, deleteSynonyms, getDefaultRepository, getSynonymById, updateSynonym
void destroy(boolean shutdown)
shutdown
- whether this destroy is due to portal being shutdown. If true
, this manager must not
initialize any repository anymore.boolean isThereSynonymsWithLocale(Locale locale)
synonyms
for the given locale.locale
- the locale.synonyms
for the given locale.SynonymsStatus getSynonymsStatus() throws TransactionRequiredException
TransactionRequiredException
- if there's no current active transaction.void publishSynonyms(boolean forcePublish) throws TransactionRequiredException, IOException, PortalException, TimeoutException
Writes
the synonyms files and reloaded them into the repository
.status
is SynonymsStatus.UPDATED
, nothing will be performed, unless forcePublish
parameter is true
.forcePublish
- indicates whether the publishing must be performed, even if the synonyms are up-to-date.PortalException
- if some error occur.IOException
- if there was an error writing the files.TransactionRequiredException
- if there's no currently active transaction.TimeoutException
- if there was a timeout while waiting all the cluster members to write the synonyms files.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.