Interface IBigDataManagerSPI

  • All Superinterfaces:
    IBigDataManager
    All Known Implementing Classes:
    BigDataManager

    public interface IBigDataManagerSPI
    extends IBigDataManager
    Provides internal operations of big data manager.
    Since:
    8.1.0
    Version:
    $Revision: 22787 $ $Date: 2019-05-31 12:04:02 -0300 (Fri, 31 May 2019) $
    • Method Detail

      • destroy

        void destroy​(boolean shutdown)
        Destroy all repositories in this manager and free any required resources.
        Parameters:
        shutdown - whether this destroy is due to portal being shutdown. If true, this manager must not initialize any repository anymore.
        Since:
        8.1.0
      • isThereSynonymsWithLocale

        boolean isThereSynonymsWithLocale​(java.util.Locale locale)
        Returns whether there are synonyms for the given locale.
        Parameters:
        locale - the locale.
        Returns:
        whether there are synonyms for the given locale.
        Since:
        11.1.0
      • publishSynonyms

        void publishSynonyms​(boolean forcePublish)
                      throws TransactionRequiredException,
                             java.io.IOException,
                             PortalException,
                             java.util.concurrent.TimeoutException
        Writes the synonyms files and reloaded them into the repository.
        If status is SynonymsStatus.UPDATED, nothing will be performed, unless forcePublish parameter is true.
        Parameters:
        forcePublish - indicates whether the publishing must be performed, even if the synonyms are up-to-date.
        Throws:
        PortalException - if some error occur.
        java.io.IOException - if there was an error writing the files.
        TransactionRequiredException - if there's no currently active transaction.
        java.util.concurrent.TimeoutException - if there was a timeout while waiting all the cluster members to write the synonyms files.
        Since:
        11.1.0