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 |
protected static String |
WILDCARD_IP_ADDRESS |
Constructor and Description |
---|
BaseConfiguration() |
protected static final String WILDCARD_IP_ADDRESS
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 getRestMaxHeaderSize()
public int getRestThreadPoolSize()
public int getRestSelectorRunnersCount()
public boolean isRestEnableTls()
public Path getRestTlsCertFile()
public 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 isRestAndWebOnSamePort()
public boolean isWebEnableCors()
public boolean isWebEnableGzip()
public int getWebMaxHeaderSize()
public boolean isWebEnableTls()
public int getWebThreadPoolSize()
public int getWebSelectorRunnersCount()
public Path getWebTlsCertFile()
public 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.ValidationException
@ValidatorMethod public void validateRestAndWebListenConfigConflict() throws com.github.joschi.jadconfig.ValidationException
com.github.joschi.jadconfig.ValidationException
@ValidatorMethod public void validateWebAndRestHaveSameProtocolIfOnSamePort() throws com.github.joschi.jadconfig.ValidationException
com.github.joschi.jadconfig.ValidationException
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.