Modifier and Type | Method and Description |
---|---|
Duration |
HttpClientConfiguration.getConnectionRequestTimeout() |
Duration |
HttpClientConfiguration.getConnectionTimeout() |
Duration |
HttpClientConfiguration.getKeepAlive() |
Duration |
HttpClientConfiguration.getTimeout() |
Duration |
HttpClientConfiguration.getTimeToLive() |
Duration |
HttpClientConfiguration.getValidateAfterInactivityPeriod() |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientConfiguration.setConnectionRequestTimeout(Duration connectionRequestTimeout) |
void |
HttpClientConfiguration.setConnectionTimeout(Duration duration) |
void |
HttpClientConfiguration.setKeepAlive(Duration keepAlive) |
void |
HttpClientConfiguration.setTimeout(Duration duration) |
void |
HttpClientConfiguration.setTimeToLive(Duration timeToLive) |
void |
HttpClientConfiguration.setValidateAfterInactivityPeriod(Duration validateAfterInactivityPeriod) |
Modifier and Type | Method and Description |
---|---|
Duration |
DataSourceFactory.getEvictionInterval() |
Duration |
DataSourceFactory.getMaxWaitForConnection() |
Duration |
DataSourceFactory.getMinIdleTime() |
Duration |
DataSourceFactory.getRemoveAbandonedTimeout() |
Duration |
DataSourceFactory.getValidationInterval() |
Modifier and Type | Method and Description |
---|---|
Optional<Duration> |
PooledDataSourceFactory.getHealthCheckValidationTimeout()
Deprecated.
|
Optional<Duration> |
DataSourceFactory.getHealthCheckValidationTimeout()
Deprecated.
|
Optional<Duration> |
DataSourceFactory.getMaxConnectionAge() |
Optional<Duration> |
PooledDataSourceFactory.getValidationQueryTimeout()
Returns the timeout for awaiting a response from the database
during connection health checks.
|
Optional<Duration> |
DataSourceFactory.getValidationQueryTimeout() |
Modifier and Type | Method and Description |
---|---|
void |
DataSourceFactory.setEvictionInterval(Duration interval) |
void |
DataSourceFactory.setMaxConnectionAge(Duration age) |
void |
DataSourceFactory.setMaxWaitForConnection(Duration maxWaitForConnection) |
void |
DataSourceFactory.setMinIdleTime(Duration time) |
void |
DataSourceFactory.setRemoveAbandonedTimeout(Duration removeAbandonedTimeout) |
void |
DataSourceFactory.setValidationInterval(Duration validationInterval) |
void |
DataSourceFactory.setValidationQueryTimeout(Duration validationQueryTimeout) |
Constructor and Description |
---|
TimeBoundHealthCheck(ExecutorService executorService,
Duration duration) |
Constructor and Description |
---|
SessionFactoryHealthCheck(ExecutorService executorService,
Duration duration,
org.hibernate.SessionFactory sessionFactory,
Optional<String> validationQuery) |
Constructor and Description |
---|
JdbiHealthCheck(ExecutorService executorService,
Duration duration,
org.jdbi.v3.core.Jdbi jdbi,
Optional<String> validationQuery) |
Modifier and Type | Method and Description |
---|---|
protected Duration |
DurationParam.parse(String input)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Duration |
ServerPushFilterFactory.getAssociatePeriod() |
Duration |
HttpConnectorFactory.getIdleTimeout() |
Modifier and Type | Method and Description |
---|---|
void |
ServerPushFilterFactory.setAssociatePeriod(Duration associatePeriod) |
void |
HttpConnectorFactory.setIdleTimeout(Duration idleTimeout) |
Modifier and Type | Method and Description |
---|---|
Duration |
ExecutorServiceManager.getShutdownPeriod() |
Constructor and Description |
---|
ExecutorServiceManager(ExecutorService executor,
Duration shutdownPeriod,
String poolName) |
Modifier and Type | Method and Description |
---|---|
ExecutorServiceBuilder |
ExecutorServiceBuilder.keepAliveTime(Duration time) |
ScheduledExecutorServiceBuilder |
ScheduledExecutorServiceBuilder.shutdownTime(Duration time) |
ExecutorServiceBuilder |
ExecutorServiceBuilder.shutdownTime(Duration time) |
Modifier and Type | Method and Description |
---|---|
Duration |
TcpSocketAppenderFactory.getConnectionTimeout() |
Duration |
AbstractAppenderFactory.getMessageRate() |
Modifier and Type | Method and Description |
---|---|
void |
TcpSocketAppenderFactory.setConnectionTimeout(Duration connectionTimeout) |
void |
AbstractAppenderFactory.setMessageRate(Duration messageRate) |
Modifier and Type | Method and Description |
---|---|
Duration |
MetricsFactory.getFrequency() |
Modifier and Type | Method and Description |
---|---|
Optional<Duration> |
BaseReporterFactory.getFrequency() |
Optional<Duration> |
ReporterFactory.getFrequency()
Returns the frequency for reporting metrics.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricsFactory.setFrequency(Duration frequency) |
Modifier and Type | Method and Description |
---|---|
void |
BaseReporterFactory.setFrequency(Optional<Duration> frequency) |
Constructor and Description |
---|
ScheduledReporterManager(com.codahale.metrics.ScheduledReporter reporter,
Duration period)
Manages the given
reporter by reporting with the given period . |
ScheduledReporterManager(com.codahale.metrics.ScheduledReporter reporter,
Duration period,
boolean reportOnStop)
Manages the given
reporter by reporting with the given period . |
Modifier and Type | Method and Description |
---|---|
Duration |
AbstractServerFactory.getIdleThreadTimeout() |
Duration |
AbstractServerFactory.getShutdownGracePeriod() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractServerFactory.setIdleThreadTimeout(Duration idleThreadTimeout) |
void |
AbstractServerFactory.setShutdownGracePeriod(Duration shutdownGracePeriod) |
Constructor and Description |
---|
SlowRequestFilter(Duration threshold)
Creates a filter which logs requests which take longer than the given duration.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
Duration.days(long count) |
static Duration |
Duration.hours(long count) |
static Duration |
Duration.microseconds(long count) |
static Duration |
Duration.milliseconds(long count) |
static Duration |
Duration.minutes(long count) |
static Duration |
Duration.nanoseconds(long count) |
static Duration |
Duration.parse(String duration) |
static Duration |
Duration.seconds(long count) |
Modifier and Type | Method and Description |
---|---|
int |
Duration.compareTo(Duration other) |
Modifier and Type | Method and Description |
---|---|
boolean |
MinDurationValidator.isValid(Duration value,
javax.validation.ConstraintValidatorContext context) |
boolean |
MaxDurationValidator.isValid(Duration value,
javax.validation.ConstraintValidatorContext context) |
Copyright © 2019. All rights reserved.