@NotThreadSafe @Path(value="worker") @Produces(value="application/json") public final class AlluxioWorkerRestServiceHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GET_CAPACITY_BYTES |
static String |
GET_CAPACITY_BYTES_ON_TIERS |
static String |
GET_CONFIGURATION |
static String |
GET_DIRECTORY_PATHS_ON_TIERS |
static String |
GET_INFO |
static String |
GET_METRICS |
static String |
GET_RPC_ADDRESS |
static String |
GET_START_TIME_MS |
static String |
GET_UPTIME_MS |
static String |
GET_USED_BYTES |
static String |
GET_USED_BYTES_ON_TIERS |
static String |
GET_VERSION |
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_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 |
getCapacityBytes()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getCapacityBytesOnTiers()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getConfiguration()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getDirectoryPathsOnTiers()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getInfo(Boolean rawConfiguration) |
javax.ws.rs.core.Response |
getMetrics()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getRpcAddress()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getStartTimeMs()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getUptimeMs()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getUsedBytes()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getUsedBytesOnTiers()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getVersion()
Deprecated.
since version 1.4 and will be removed in version 2.0
|
javax.ws.rs.core.Response |
getWebUIBlockInfo(String requestPath,
String requestOffset,
String requestLimit)
Gets web ui block info 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 QUERY_RAW_CONFIGURATION
public static final String LOG_LEVEL
public static final String LOG_ARGUMENT_NAME
public static final String LOG_ARGUMENT_LEVEL
public static final String GET_RPC_ADDRESS
public static final String GET_CAPACITY_BYTES
public static final String GET_CONFIGURATION
public static final String GET_USED_BYTES
public static final String GET_CAPACITY_BYTES_ON_TIERS
public static final String GET_USED_BYTES_ON_TIERS
public static final String GET_DIRECTORY_PATHS_ON_TIERS
public static final String GET_START_TIME_MS
public static final String GET_UPTIME_MS
public static final String GET_VERSION
public static final String GET_METRICS
public AlluxioWorkerRestServiceHandler(@Context javax.servlet.ServletContext context)
context
- context for the servlet@GET @Path(value="info") public javax.ws.rs.core.Response getInfo(@QueryParam(value="raw_configuration") 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.@GET @Path(value="webui_init") public javax.ws.rs.core.Response getWebUIInit()
@GET @Path(value="webui_overview") public javax.ws.rs.core.Response getWebUIOverview()
@GET @Path(value="webui_blockinfo") public javax.ws.rs.core.Response getWebUIBlockInfo(@QueryParam(value="path") String requestPath, @DefaultValue(value="0") @QueryParam(value="offset") String requestOffset, @DefaultValue(value="20") @QueryParam(value="limit") String requestLimit)
requestPath
- the request pathrequestOffset
- the request offsetrequestLimit
- the request limit@GET @Path(value="webui_metrics") public javax.ws.rs.core.Response getWebUIMetrics()
@GET @Path(value="webui_logs") public javax.ws.rs.core.Response getWebUILogs(@DefaultValue(value="") @QueryParam(value="path") String requestPath, @DefaultValue(value="0") @QueryParam(value="offset") String requestOffset, @QueryParam(value="end") String requestEnd, @DefaultValue(value="20") @QueryParam(value="limit") String requestLimit)
requestPath
- the request pathrequestOffset
- the request offsetrequestEnd
- the request endrequestLimit
- the request limit@GET @Path(value="configuration") @Deprecated public javax.ws.rs.core.Response getConfiguration()
getInfo(Boolean)
@GET @Path(value="rpc_address") @Deprecated public javax.ws.rs.core.Response getRpcAddress()
getInfo(Boolean)
@GET @Path(value="capacity_bytes") @Deprecated public javax.ws.rs.core.Response getCapacityBytes()
getInfo(Boolean)
@GET @Path(value="used_bytes") @Deprecated public javax.ws.rs.core.Response getUsedBytes()
getInfo(Boolean)
@GET @Path(value="capacity_bytes_on_tiers") @Deprecated public javax.ws.rs.core.Response getCapacityBytesOnTiers()
getInfo(Boolean)
@GET @Path(value="used_bytes_on_tiers") @Deprecated public javax.ws.rs.core.Response getUsedBytesOnTiers()
getInfo(Boolean)
@GET @Path(value="directory_paths_on_tiers") @Deprecated public javax.ws.rs.core.Response getDirectoryPathsOnTiers()
getInfo(Boolean)
@GET @Path(value="version") @Deprecated public javax.ws.rs.core.Response getVersion()
getInfo(Boolean)
@GET @Path(value="start_time_ms") @Deprecated public javax.ws.rs.core.Response getStartTimeMs()
getInfo(Boolean)
@GET @Path(value="uptime_ms") @Deprecated public javax.ws.rs.core.Response getUptimeMs()
getInfo(Boolean)
@GET @Path(value="metrics") @Deprecated public javax.ws.rs.core.Response getMetrics()
getInfo(Boolean)
Copyright © 2023. All Rights Reserved.