public abstract class BaseConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
GRAYLOG_DEFAULT_PORT |
protected static int |
GRAYLOG_DEFAULT_WEB_PORT |
protected int |
shutdownTimeout |
| Constructor and Description |
|---|
BaseConfiguration() |
protected static final int GRAYLOG_DEFAULT_PORT
protected static final int GRAYLOG_DEFAULT_WEB_PORT
@Parameter(value="shutdown_timeout",
validator=com.github.joschi.jadconfig.validators.PositiveIntegerValidator.class)
protected int shutdownTimeout
public String getRestUriScheme()
public String getWebUriScheme()
public String getUriScheme(boolean enableTls)
public URI getRestTransportUri()
public void setRestTransportUri(URI restTransportUri)
protected URI getDefaultRestTransportUri()
public int getProcessBufferProcessors()
public com.lmax.disruptor.WaitStrategy getProcessorWaitStrategy()
public int getRingSize()
public int getInputBufferRingSize()
public com.lmax.disruptor.WaitStrategy getInputBufferWaitStrategy()
public boolean isRestEnableCors()
public boolean isRestEnableGzip()
public int getRestMaxInitialLineLength()
public int getRestMaxHeaderSize()
public int getRestThreadPoolSize()
public boolean isRestEnableTls()
public java.nio.file.Path getRestTlsCertFile()
public java.nio.file.Path getRestTlsKeyFile()
public String getRestTlsKeyPassword()
public String getPluginDir()
public int getAsyncEventbusProcessors()
public abstract String getNodeIdFile()
public abstract URI getRestListenUri()
public abstract URI getWebListenUri()
public boolean isMessageJournalEnabled()
public void setMessageJournalEnabled(boolean messageJournalEnabled)
public int getInputbufferProcessors()
public int getShutdownTimeout()
public int getUdpRecvBufferSizes()
public boolean isMessageRecordingsEnabled()
public boolean isDisableSigar()
public URI getHttpProxyUri()
public com.github.joschi.jadconfig.util.Duration getHttpConnectTimeout()
public com.github.joschi.jadconfig.util.Duration getHttpWriteTimeout()
public com.github.joschi.jadconfig.util.Duration getHttpReadTimeout()
public String getInstallationSource()
public boolean isWebEnable()
public boolean isWebEnableCors()
public boolean isWebEnableGzip()
public int getWebMaxInitialLineLength()
public int getWebMaxHeaderSize()
public boolean isWebEnableTls()
public int getWebThreadPoolSize()
public java.nio.file.Path getWebTlsCertFile()
public java.nio.file.Path getWebTlsKeyFile()
public String getWebTlsKeyPassword()
public URI getWebEndpointUri()
public String getWebPrefix()
@ValidatorMethod
public void validateRestTlsConfig()
throws com.github.joschi.jadconfig.ValidationException
com.github.joschi.jadconfig.ValidationException@ValidatorMethod
public void validateWebTlsConfig()
throws com.github.joschi.jadconfig.ValidationException
com.github.joschi.jadconfig.ValidationExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.