@NotThreadSafe public final class AlluxioMasterRestServiceHandler 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 |
SCHEDULER_INFO |
static String |
SERVICE_PREFIX |
static String |
WEBUI_BROWSE |
static String |
WEBUI_CONFIG |
static String |
WEBUI_DATA |
static String |
WEBUI_INIT |
static String |
WEBUI_LOGS |
static String |
WEBUI_MASTERS |
static String |
WEBUI_METRICS |
static String |
WEBUI_MOUNTTABLE |
static String |
WEBUI_OVERVIEW |
static String |
WEBUI_WORKERS |
Constructor and Description |
---|
AlluxioMasterRestServiceHandler(javax.servlet.ServletContext context)
Constructs a new
AlluxioMasterRestServiceHandler . |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getInfo(Boolean rawConfiguration) |
javax.ws.rs.core.Response |
getSchedulerInfo(String jobId) |
javax.ws.rs.core.Response |
getWebUIBrowse(String requestPath,
String requestOffset,
String requestEnd,
String requestLimit)
Gets Web UI browse page data.
|
javax.ws.rs.core.Response |
getWebUIConfiguration()
Gets Web UI Configuration page data.
|
javax.ws.rs.core.Response |
getWebUIData(String requestOffset,
String requestLimit)
Gets Web UI data 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 |
getWebUIMasters()
Gets Web UI Master page data.
|
javax.ws.rs.core.Response |
getWebUIMetrics()
Gets Web UI metrics page data.
|
javax.ws.rs.core.Response |
getWebUIMountTable()
Gets Web UI mount table page data.
|
javax.ws.rs.core.Response |
getWebUIOverview()
Gets Web UI overview page data.
|
javax.ws.rs.core.Response |
getWebUIWorkers()
Gets Web UI workers 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 SCHEDULER_INFO
public static final String WEBUI_INIT
public static final String WEBUI_OVERVIEW
public static final String WEBUI_BROWSE
public static final String WEBUI_DATA
public static final String WEBUI_LOGS
public static final String WEBUI_CONFIG
public static final String WEBUI_WORKERS
public static final String WEBUI_METRICS
public static final String WEBUI_MOUNTTABLE
public static final String WEBUI_MASTERS
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 AlluxioMasterRestServiceHandler(@Context javax.servlet.ServletContext context)
AlluxioMasterRestServiceHandler
.context
- context for the servletpublic javax.ws.rs.core.Response getSchedulerInfo(String jobId)
jobId
- public 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 getWebUIBrowse(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 getWebUIData(String requestOffset, String requestLimit)
requestOffset
- the request offsetrequestLimit
- the request limitpublic 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()
public javax.ws.rs.core.Response getWebUIWorkers()
public javax.ws.rs.core.Response getWebUIMasters()
public javax.ws.rs.core.Response getWebUIMountTable()
public javax.ws.rs.core.Response getWebUIMetrics()
Copyright © 2023. All Rights Reserved.