public class AtopConnectorConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SECURITY_FILE |
static String |
SECURITY_NONE |
| Constructor and Description |
|---|
AtopConnectorConfig() |
| Modifier and Type | Method and Description |
|---|---|
@Min(value=1L) int |
getConcurrentReadersPerNode() |
@NotNull String |
getExecutablePath() |
@Min(value=1L) int |
getMaxHistoryDays() |
io.airlift.units.Duration |
getReadTimeout() |
@NotNull String |
getSecurity() |
@NotNull String |
getTimeZone() |
ZoneId |
getTimeZoneId() |
AtopConnectorConfig |
setConcurrentReadersPerNode(int readers) |
AtopConnectorConfig |
setExecutablePath(String path) |
AtopConnectorConfig |
setMaxHistoryDays(int maxHistoryDays) |
AtopConnectorConfig |
setReadTimeout(io.airlift.units.Duration timeout) |
AtopConnectorConfig |
setSecurity(String security) |
AtopConnectorConfig |
setTimeZone(String id) |
public static final String SECURITY_NONE
public static final String SECURITY_FILE
@NotNull public @NotNull String getSecurity()
@Config(value="atop.security") public AtopConnectorConfig setSecurity(String security)
@NotNull public @NotNull String getExecutablePath()
@Config(value="atop.executable-path") public AtopConnectorConfig setExecutablePath(String path)
public ZoneId getTimeZoneId()
@NotNull public @NotNull String getTimeZone()
@Config(value="atop.time-zone") public AtopConnectorConfig setTimeZone(String id)
@MinDuration(value="1ms") public io.airlift.units.Duration getReadTimeout()
@Config(value="atop.executable-read-timeout") public AtopConnectorConfig setReadTimeout(io.airlift.units.Duration timeout)
@Min(value=1L) public @Min(value=1L) int getConcurrentReadersPerNode()
@Config(value="atop.concurrent-readers-per-node") public AtopConnectorConfig setConcurrentReadersPerNode(int readers)
@Min(value=1L) public @Min(value=1L) int getMaxHistoryDays()
@Config(value="atop.max-history-days") public AtopConnectorConfig setMaxHistoryDays(int maxHistoryDays)
Copyright © 2012–2021. All rights reserved.