Class MirroringServicePluginConfig

java.lang.Object
com.linecorp.centraldogma.server.plugin.AbstractPluginConfig
com.linecorp.centraldogma.server.mirror.MirroringServicePluginConfig
All Implemented Interfaces:
PluginConfig

public final class MirroringServicePluginConfig extends AbstractPluginConfig
A mirroring service plugin configuration.
  • Field Details

  • Constructor Details

    • MirroringServicePluginConfig

      public MirroringServicePluginConfig(boolean enabled)
      Creates a new instance.
    • MirroringServicePluginConfig

      public MirroringServicePluginConfig(@Nullable Boolean enabled, @Nullable Integer numMirroringThreads, @Nullable Integer maxNumFilesPerMirror, @Nullable Long maxNumBytesPerMirror)
      Creates a new instance.
  • Method Details

    • numMirroringThreads

      public int numMirroringThreads()
      Returns the number of mirroring threads.
    • maxNumFilesPerMirror

      public int maxNumFilesPerMirror()
      Returns the maximum allowed number of files per mirror.
    • maxNumBytesPerMirror

      public long maxNumBytesPerMirror()
      Returns the maximum allowed number of bytes per mirror.
    • toString

      public String toString()
      Overrides:
      toString in class Object