/** * @param opts The FileSystem options. * @return The timeout value in milliseconds. * @see #setTimeout */ public Integer getTimeout(final FileSystemOptions opts) { return this.getInteger(opts, TIMEOUT); }
/** * Gets the proxy-port to use for the SFTP the connection. * * @param opts The FileSystem options. * @return proxyPort: the port number or 0 if it is not set * @see #setProxyPort * @see #getProxyHost */ public int getProxyPort(final FileSystemOptions opts) { return this.getInteger(opts, PROXY_PORT, 0); }
/** * @param opts The FileSystem options. * @return The timeout value in milliseconds. * @see #setTimeout */ public Integer getTimeout(final FileSystemOptions opts) { return this.getInteger(opts, TIMEOUT); }
/** * @param opts * The FileSystem options. * @return The timeout value in milliseconds. * @see #setTimeout */ public Integer getTimeout(final FileSystemOptions opts) { return this.getInteger(opts, TIMEOUT); }
/** * Gets the proxy-port to use for the SFTP the connection. * * @param opts The FileSystem options. * @return proxyPort: the port number or 0 if it is not set * @see #setProxyPort * @see #getProxyHost */ public int getProxyPort(final FileSystemOptions opts) { return this.getInteger(opts, PROXY_PORT, 0); }
/** * Gets the proxy-port to use for the SFTP the connection. * * @param opts The FileSystem options. * @return proxyPort: the port number or 0 if it is not set * @see #setProxyPort * @see #getProxyHost */ public int getProxyPort(final FileSystemOptions opts) { return this.getInteger(opts, PROXY_PORT, 0); }
/** * @param opts The FileSystem options. * @return The session timeout value in milliseconds. * @see #setSessionTimeoutMillis * @since 2.3 */ public Integer getSessionTimeoutMillis(final FileSystemOptions opts) { return this.getInteger(opts, SESSION_TIMEOUT_MILLIS, DEFAULT_SESSION_TIMEOUT_MILLIS); }
/** * @param opts The FileSystem options. * @return The connect timeout value in milliseconds. * @see #setConnectTimeoutMillis * @since 2.3 */ public Integer getConnectTimeoutMillis(final FileSystemOptions opts) { return this.getInteger(opts, CONNECT_TIMEOUT_MILLIS, DEFAULT_CONNECT_TIMEOUT_MILLIS); }
/** * Gets the proxy-port to use for the SFTP the connection. * * @param opts * The FileSystem options. * @return proxyPort: the port number or 0 if it is not set * @see #setProxyPort * @see #getProxyHost */ public int getProxyPort(final FileSystemOptions opts) { return this.getInteger(opts, PROXY_PORT, 0); }
public Integer getKeepAliveTimeout(FileSystemOptions opts) { return getInteger(opts, KEEP_ALIVE_TIMEOUT); }
public Integer getKeepAliveMaxCount(FileSystemOptions opts) { return getInteger(opts, KEEP_ALIVE_MAX_COUNT); }
/** * @param opts The FileSystem options. * @return The timeout value in milliseconds. * @see #setTimeout * @deprecated Use {@link #getSessionTimeoutMillis(FileSystemOptions)} */ @Deprecated public Integer getTimeout(final FileSystemOptions opts) { return this.getInteger(opts, SESSION_TIMEOUT_MILLIS); }