Package 

Class CommonConfigurationFactoriesKt

    • Method Summary

      Modifier and Type Method Description
      final CollectionConfiguration getCollectionConfigurationFactory() Configuration factory for new CollectionConfigurationsUsage: val collConfig = CollectionConfigurationFactory.newConfig(...
      final FullTextIndexConfiguration getFullTextIndexConfigurationFactory() Configuration factory for new FullTextIndexConfigurationsUsage: val fullTextIndexConfig = FullTextIndexConfigurationFactory.newConfig(...
      final ValueIndexConfiguration getValueIndexConfigurationFactory() Configuration factory for new ValueIndexConfigurationsUsage: val valIndexConfig = ValueIndexConfigurationFactory.newConfig(...
      final ArrayIndexConfiguration getArrayIndexConfigurationFactory() Configuration factory for new ArrayIndexConfigurationsUsage: val arrayIndexConfig = arrayIndexConfigurationFactory.newConfig(...
      final FileLogSink getFileLogSinkFactory() Factory for new FileLogSinksUsage: val logFileConfig = LogFileConfigurationFactory.install(...
      final LogFileConfiguration getLogFileConfigurationFactory() Configuration factory for new LogFileConfigurationsUsage: val logFileConfig = LogFileConfigurationFactory.newConfig(...
      final static CollectionConfiguration newConfig(CollectionConfiguration $self, List<String> channels, List<String> documentIDs, ReplicationFilter pullFilter, ReplicationFilter pushFilter, ConflictResolver conflictResolver)
      final static FullTextIndexConfiguration newConfig(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents) Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static <ERROR CLASS> newConfig(ValueIndexConfiguration $self, String expressions) Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static ArrayIndexConfiguration newConfig(ArrayIndexConfiguration $self, String path, String expressions) Create a ArrayIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static LogFileConfiguration newConfig(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText) Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:
      final static Unit install(FileLogSink $self, String directory, LogLevel level, Long maxFileSize, Integer maxKeptFiles, Boolean isPlainText) Install a new file logger
      final static FullTextIndexConfiguration create(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents) Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static <ERROR CLASS> create(ValueIndexConfiguration $self, String expressions) Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:
      final static LogFileConfiguration create(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText) Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCollectionConfigurationFactory

         final CollectionConfiguration getCollectionConfigurationFactory()

        Configuration factory for new CollectionConfigurations

        Usage: val collConfig = CollectionConfigurationFactory.newConfig(...)

      • getFullTextIndexConfigurationFactory

         final FullTextIndexConfiguration getFullTextIndexConfigurationFactory()

        Configuration factory for new FullTextIndexConfigurations

        Usage: val fullTextIndexConfig = FullTextIndexConfigurationFactory.newConfig(...)

      • getValueIndexConfigurationFactory

         final ValueIndexConfiguration getValueIndexConfigurationFactory()

        Configuration factory for new ValueIndexConfigurations

        Usage: val valIndexConfig = ValueIndexConfigurationFactory.newConfig(...)

      • getArrayIndexConfigurationFactory

         final ArrayIndexConfiguration getArrayIndexConfigurationFactory()

        Configuration factory for new ArrayIndexConfigurations

        Usage: val arrayIndexConfig = arrayIndexConfigurationFactory.newConfig(...)

      • getFileLogSinkFactory

         final FileLogSink getFileLogSinkFactory()

        Factory for new FileLogSinks

        Usage: val logFileConfig = LogFileConfigurationFactory.install(...)

      • getLogFileConfigurationFactory

         final LogFileConfiguration getLogFileConfigurationFactory()

        Configuration factory for new LogFileConfigurations

        Usage: val logFileConfig = LogFileConfigurationFactory.newConfig(...)

      • newConfig

         final static CollectionConfiguration newConfig(CollectionConfiguration $self, List<String> channels, List<String> documentIDs, ReplicationFilter pullFilter, ReplicationFilter pushFilter, ConflictResolver conflictResolver)
      • newConfig

         final static FullTextIndexConfiguration newConfig(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents)

        Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • newConfig

         final static <ERROR CLASS> newConfig(ValueIndexConfiguration $self, String expressions)

        Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • newConfig

         final static ArrayIndexConfiguration newConfig(ArrayIndexConfiguration $self, String path, String expressions)

        Create a ArrayIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        path - (required) the expressions to be matched.
        expressions - expressions.
      • newConfig

         final static LogFileConfiguration newConfig(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText)

        Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        directory - (required) the directory in which the logs files are stored.
        maxSize - the max size of the log file in bytes.
        maxRotateCount - the number of rotated logs that are saved.
        usePlainText - whether or not to log in plaintext.
      • install

         final static Unit install(FileLogSink $self, String directory, LogLevel level, Long maxFileSize, Integer maxKeptFiles, Boolean isPlainText)

        Install a new file logger

        Parameters:
        directory - (required) the directory in which the logs files are stored.
        level - (required) the minimum level for log messages pushed to the file log.
        maxFileSize - the max size of the log file in bytes.
        maxKeptFiles - the number of rotated logs that are saved.
        isPlainText - whether or not to log in plaintext.
      • create

        @Deprecated(message = Use FullTextIndexConfiguration?.newConfig(vararg expressions: String, language: String?, ignoreAccents: Boolean?), replaceWith = @ReplaceWith(imports = {}, expression = FullTextIndexConfiguration?.newConfig(vararg expressions: String, language: String?, ignoreAccents: Boolean?))) final static FullTextIndexConfiguration create(FullTextIndexConfiguration $self, String expressions, String language, Boolean ignoreAccents)

        Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • create

        @Deprecated(message = Use ValueIndexConfiguration?.newConfig(vararg expressions: String), replaceWith = @ReplaceWith(imports = {}, expression = ValueIndexConfiguration?.newConfig(vararg expressions: String))) final static <ERROR CLASS> create(ValueIndexConfiguration $self, String expressions)

        Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        expressions - (required) the expressions to be matched.
      • create

        @Deprecated(message = Use LogFileConfiguration?.newConfig(String?, Long?, Int?, Boolean?), replaceWith = @ReplaceWith(imports = {}, expression = LogFileConfiguration?.newConfig(String?, Long?, Int?, Boolean?))) final static LogFileConfiguration create(LogFileConfiguration $self, String directory, Long maxSize, Integer maxRotateCount, Boolean usePlainText)

        Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:

        Parameters:
        directory - (required) the directory in which the logs files are stored.
        maxSize - the max size of the log file in bytes.
        maxRotateCount - the number of rotated logs that are saved.
        usePlainText - whether or not to log in plaintext.