public int getTimeout() {
        return timeout;
    }
Gets transaction timeout in seconds.

@return transaction timeout in seconds, zero or negative number means
        {@code default_session_timeout} as defined on server
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseTransaction.java