Example usage for com.amazonaws ClientConfiguration DEFAULT_TCP_KEEP_ALIVE

List of usage examples for com.amazonaws ClientConfiguration DEFAULT_TCP_KEEP_ALIVE

Introduction

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

Prototype

boolean DEFAULT_TCP_KEEP_ALIVE

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

Click Source Link

Document

The default on whether to use TCP KeepAlive.

Usage

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

License:Open Source License

public boolean useTcpKeepAlive() {
    return readBoolean("useTcpKeepAlive", ClientConfiguration.DEFAULT_TCP_KEEP_ALIVE);
}

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

License:Apache License

public boolean useTcpKeepAlive() {
    return readBoolean("useTcpKeepAlive", com.amazonaws.ClientConfiguration.DEFAULT_TCP_KEEP_ALIVE);
}