public class ServerConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_GZIP_INFLATE_BUFFER_SIZE |
| Constructor and Description |
|---|
ServerConfig() |
ServerConfig(int numThreads,
int queueSize,
boolean enableRequestLimit,
org.joda.time.Period maxIdleTime,
long defaultQueryTimeout,
long maxScatterGatherBytes,
int maxSubqueryRows,
long maxQueryTimeout,
int maxRequestHeaderSize,
org.joda.time.Period gracefulShutdownTimeout,
org.joda.time.Period unannouncePropagationDelay,
int inflateBufferSize,
int compressionLevel,
boolean enableForwardedRequestCustomizer,
List<String> allowedHttpMethods)
The ServerConfig is normally created using
JsonConfigProvider binding. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<String> |
getAllowedHttpMethods() |
int |
getCompressionLevel() |
static int |
getDefaultNumThreads() |
long |
getDefaultQueryTimeout() |
org.joda.time.Period |
getGracefulShutdownTimeout() |
int |
getInflateBufferSize() |
org.joda.time.Period |
getMaxIdleTime() |
long |
getMaxQueryTimeout() |
int |
getMaxRequestHeaderSize() |
long |
getMaxScatterGatherBytes() |
int |
getMaxSubqueryRows() |
int |
getNumThreads() |
int |
getQueueSize() |
org.joda.time.Period |
getUnannouncePropagationDelay() |
int |
hashCode() |
boolean |
isEnableForwardedRequestCustomizer() |
boolean |
isEnableRequestLimit() |
String |
toString() |
public static final int DEFAULT_GZIP_INFLATE_BUFFER_SIZE
public ServerConfig(int numThreads,
int queueSize,
boolean enableRequestLimit,
@NotNull
org.joda.time.Period maxIdleTime,
long defaultQueryTimeout,
long maxScatterGatherBytes,
int maxSubqueryRows,
long maxQueryTimeout,
int maxRequestHeaderSize,
@NotNull
org.joda.time.Period gracefulShutdownTimeout,
@NotNull
org.joda.time.Period unannouncePropagationDelay,
int inflateBufferSize,
int compressionLevel,
boolean enableForwardedRequestCustomizer,
@NotNull
List<String> allowedHttpMethods)
JsonConfigProvider binding.
This constructor is provided for callers that need to create a ServerConfig object with specific field values.public ServerConfig()
public int getNumThreads()
public int getQueueSize()
public boolean isEnableRequestLimit()
public org.joda.time.Period getMaxIdleTime()
public long getDefaultQueryTimeout()
public long getMaxScatterGatherBytes()
public int getMaxSubqueryRows()
public long getMaxQueryTimeout()
public int getMaxRequestHeaderSize()
public org.joda.time.Period getGracefulShutdownTimeout()
public org.joda.time.Period getUnannouncePropagationDelay()
public int getInflateBufferSize()
public int getCompressionLevel()
public boolean isEnableForwardedRequestCustomizer()
public static int getDefaultNumThreads()
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.