@ThreadSafe
public final class UpdateCheck
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getLatestVersion(java.lang.String clusterID,
long connectionRequestTimeout,
long connectTimeout,
long socketTimeout) |
static java.lang.String |
getUserAgentString(java.lang.String clusterID) |
public static java.lang.String getLatestVersion(java.lang.String clusterID,
long connectionRequestTimeout,
long connectTimeout,
long socketTimeout)
throws java.io.IOException
clusterID - the cluster IDconnectionRequestTimeout - the connection request timeout for the HTTP request in msconnectTimeout - the connect timeout for the HTTP request in mssocketTimeout - the socket timeout for the HTTP request in msjava.io.IOExceptionpublic static java.lang.String getUserAgentString(java.lang.String clusterID)
throws java.io.IOException
clusterID - the cluster IDjava.io.IOExceptionCopyright © 2020. All Rights Reserved.