Class MirroringServicePluginConfig
java.lang.Object
com.linecorp.centraldogma.server.plugin.AbstractPluginConfig
com.linecorp.centraldogma.server.mirror.MirroringServicePluginConfig
- All Implemented Interfaces:
PluginConfig
A mirroring service plugin configuration.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMirroringServicePluginConfig
(boolean enabled) Creates a new instance.MirroringServicePluginConfig
(Boolean enabled, Integer numMirroringThreads, Integer maxNumFilesPerMirror, Long maxNumBytesPerMirror) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the maximum allowed number of bytes per mirror.int
Returns the maximum allowed number of files per mirror.int
Returns the number of mirroring threads.toString()
Methods inherited from class com.linecorp.centraldogma.server.plugin.AbstractPluginConfig
enabled
-
Field Details
-
INSTANCE
-
-
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
-