类 AdminServiceServiceManagementApi
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.api.AdminServiceServiceManagementApi
-
public class AdminServiceServiceManagementApi extends Object
-
-
构造器概要
构造器 构造器 说明 AdminServiceServiceManagementApi()AdminServiceServiceManagementApi(ApiClient apiClient)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ApiClientgetApiClient()StringgetCustomBaseUrl()intgetHostIndex()ServiceStatusgetServiceStatus()Get service statusokhttp3.CallgetServiceStatusAsync(ApiCallback<ServiceStatus> _callback)(asynchronously) Get service statusokhttp3.CallgetServiceStatusCall(ApiCallback _callback)Build call for getServiceStatusApiResponse<ServiceStatus>getServiceStatusWithHttpInfo()Get service statusStringrestartService()Start current serviceokhttp3.CallrestartServiceAsync(ApiCallback<String> _callback)(asynchronously) Start current serviceokhttp3.CallrestartServiceCall(ApiCallback _callback)Build call for restartServiceApiResponse<String>restartServiceWithHttpInfo()Start current servicevoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)StringstartService(StartServiceRequest startServiceRequest)Start service on a specified graphokhttp3.CallstartServiceAsync(StartServiceRequest startServiceRequest, ApiCallback<String> _callback)(asynchronously) Start service on a specified graphokhttp3.CallstartServiceCall(StartServiceRequest startServiceRequest, ApiCallback _callback)Build call for startServiceApiResponse<String>startServiceWithHttpInfo(StartServiceRequest startServiceRequest)Start service on a specified graphStringstopService()Stop current serviceokhttp3.CallstopServiceAsync(ApiCallback<String> _callback)(asynchronously) Stop current serviceokhttp3.CallstopServiceCall(ApiCallback _callback)Build call for stopServiceApiResponse<String>stopServiceWithHttpInfo()Stop current service
-
-
-
构造器详细资料
-
AdminServiceServiceManagementApi
public AdminServiceServiceManagementApi()
-
AdminServiceServiceManagementApi
public AdminServiceServiceManagementApi(ApiClient apiClient)
-
-
方法详细资料
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(String customBaseUrl)
-
getServiceStatusCall
public okhttp3.Call getServiceStatusCall(ApiCallback _callback) throws ApiException
Build call for getServiceStatus- 参数:
_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
getServiceStatus
public ServiceStatus getServiceStatus() throws ApiException
Get service status- 返回:
- ServiceStatus
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
getServiceStatusWithHttpInfo
public ApiResponse<ServiceStatus> getServiceStatusWithHttpInfo() throws ApiException
Get service status- 返回:
- ApiResponse<ServiceStatus>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
getServiceStatusAsync
public okhttp3.Call getServiceStatusAsync(ApiCallback<ServiceStatus> _callback) throws ApiException
(asynchronously) Get service status- 参数:
_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
restartServiceCall
public okhttp3.Call restartServiceCall(ApiCallback _callback) throws ApiException
Build call for restartService- 参数:
_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
restartService
public String restartService() throws ApiException
Start current service- 返回:
- String
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
restartServiceWithHttpInfo
public ApiResponse<String> restartServiceWithHttpInfo() throws ApiException
Start current service- 返回:
- ApiResponse<String>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
restartServiceAsync
public okhttp3.Call restartServiceAsync(ApiCallback<String> _callback) throws ApiException
(asynchronously) Start current service- 参数:
_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
startServiceCall
public okhttp3.Call startServiceCall(StartServiceRequest startServiceRequest, ApiCallback _callback) throws ApiException
Build call for startService- 参数:
startServiceRequest- Start service on a specified graph (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation - 500 Internal Error -
-
startService
public String startService(StartServiceRequest startServiceRequest) throws ApiException
Start service on a specified graph- 参数:
startServiceRequest- Start service on a specified graph (optional)- 返回:
- String
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation - 500 Internal Error -
-
startServiceWithHttpInfo
public ApiResponse<String> startServiceWithHttpInfo(StartServiceRequest startServiceRequest) throws ApiException
Start service on a specified graph- 参数:
startServiceRequest- Start service on a specified graph (optional)- 返回:
- ApiResponse<String>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation - 500 Internal Error -
-
startServiceAsync
public okhttp3.Call startServiceAsync(StartServiceRequest startServiceRequest, ApiCallback<String> _callback) throws ApiException
(asynchronously) Start service on a specified graph- 参数:
startServiceRequest- Start service on a specified graph (optional)_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation - 500 Internal Error -
-
stopServiceCall
public okhttp3.Call stopServiceCall(ApiCallback _callback) throws ApiException
Build call for stopService- 参数:
_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
stopService
public String stopService() throws ApiException
Stop current service- 返回:
- String
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
stopServiceWithHttpInfo
public ApiResponse<String> stopServiceWithHttpInfo() throws ApiException
Stop current service- 返回:
- ApiResponse<String>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
stopServiceAsync
public okhttp3.Call stopServiceAsync(ApiCallback<String> _callback) throws ApiException
(asynchronously) Stop current service- 参数:
_callback- The callback to be executed when the API call finishes- 返回:
- The request call
- 抛出:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 successful operation -
-
-