@NotThreadSafe public final class AlluxioWorkerRestServiceHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GET_INFO |
static String |
LOG_ARGUMENT_LEVEL |
static String |
LOG_ARGUMENT_NAME |
static String |
LOG_LEVEL |
static String |
QUERY_RAW_CONFIGURATION |
static String |
SERVICE_PREFIX |
static String |
WEBUI_BLOCKINFO |
static String |
WEBUI_CONFIG |
static String |
WEBUI_INIT |
static String |
WEBUI_LOGS |
static String |
WEBUI_METRICS |
static String |
WEBUI_OVERVIEW |
Constructor and Description |
---|
AlluxioWorkerRestServiceHandler(javax.servlet.ServletContext context) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getInfo(Boolean rawConfiguration) |
javax.ws.rs.core.Response |
getWebUIBlockInfo(String requestPath,
String requestOffset,
String requestLimit)
Gets web ui block info page data.
|
javax.ws.rs.core.Response |
getWebUIConfiguration()
Gets Web UI Configuration page data.
|
javax.ws.rs.core.Response |
getWebUIInit()
Gets Web UI initialization data.
|
javax.ws.rs.core.Response |
getWebUILogs(String requestPath,
String requestOffset,
String requestEnd,
String requestLimit)
Gets web ui logs page data.
|
javax.ws.rs.core.Response |
getWebUIMetrics()
Gets web ui metrics page data.
|
javax.ws.rs.core.Response |
getWebUIOverview()
Gets web ui overview page data.
|
javax.ws.rs.core.Response |
logLevel(String logName,
String level) |
public static final String SERVICE_PREFIX
public static final String GET_INFO
public static final String WEBUI_INIT
public static final String WEBUI_OVERVIEW
public static final String WEBUI_LOGS
public static final String WEBUI_BLOCKINFO
public static final String WEBUI_METRICS
public static final String WEBUI_CONFIG
public static final String QUERY_RAW_CONFIGURATION
public static final String LOG_LEVEL
public static final String LOG_ARGUMENT_NAME
public static final String LOG_ARGUMENT_LEVEL
public AlluxioWorkerRestServiceHandler(@Context javax.servlet.ServletContext context)
context
- context for the servletpublic javax.ws.rs.core.Response getInfo(Boolean rawConfiguration)
rawConfiguration
- if it's true, raw configuration values are returned,
otherwise, they are looked up; if it's not provided in URL queries, then
it is null, which means false.public javax.ws.rs.core.Response getWebUIInit()
public javax.ws.rs.core.Response getWebUIOverview()
public javax.ws.rs.core.Response getWebUIBlockInfo(String requestPath, String requestOffset, String requestLimit)
requestPath
- the request pathrequestOffset
- the request offsetrequestLimit
- the request limitpublic javax.ws.rs.core.Response getWebUIMetrics()
public javax.ws.rs.core.Response getWebUILogs(String requestPath, String requestOffset, String requestEnd, String requestLimit)
requestPath
- the request pathrequestOffset
- the request offsetrequestEnd
- the request endrequestLimit
- the request limitpublic javax.ws.rs.core.Response getWebUIConfiguration()
Copyright © 2023. All Rights Reserved.