Example usage for com.amazonaws ClientConfiguration DEFAULT_CONNECTION_TTL

List of usage examples for com.amazonaws ClientConfiguration DEFAULT_CONNECTION_TTL

Introduction

In this page you can find the example usage for com.amazonaws ClientConfiguration DEFAULT_CONNECTION_TTL.

Prototype

long DEFAULT_CONNECTION_TTL

To view the source code for com.amazonaws ClientConfiguration DEFAULT_CONNECTION_TTL.

Click Source Link

Document

The default expiration time (in milliseconds) for a connection in the connection pool.

Usage

From source file:com.amazon.kinesis.streaming.agent.config.AgentConfiguration.java

License:Open Source License

public long connectionTTLMillis() {
    return readLong("connectionTTLMillis", ClientConfiguration.DEFAULT_CONNECTION_TTL);
}

From source file:com.dssmp.agent.config.AgentConfiguration.java

License:Apache License

public long connectionTTLMillis() {
    return readLong("connectionTTLMillis", com.amazonaws.ClientConfiguration.DEFAULT_CONNECTION_TTL);
}