@ThreadSafe public final class UpdateCheck extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getLatestVersion(String clusterID,
long connectionRequestTimeout,
long connectTimeout,
long socketTimeout) |
static String |
getUserAgentEnvironmentString(String clusterID) |
static List<String> |
getUserAgentFeatureList()
Get the features information.
|
static String |
getUserAgentString(String clusterID) |
public static String getLatestVersion(String clusterID, long connectionRequestTimeout, long connectTimeout, long socketTimeout) throws 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 msIOException
public static String getUserAgentString(String clusterID) throws IOException
clusterID
- the cluster IDIOException
public static String getUserAgentEnvironmentString(String clusterID) throws IOException
clusterID
- the cluster IDIOException
Copyright © 2023. All Rights Reserved.