use of alluxio.wire.MasterWebUIMountTable in project alluxio by Alluxio.
the class AlluxioMasterRestServiceHandler method getWebUIMountTable.
/**
* Gets Web UI mount table page data.
*
* @return the response object
*/
@GET
@Path(WEBUI_MOUNTTABLE)
public Response getWebUIMountTable() {
return RestUtils.call(() -> {
MasterWebUIMountTable response = new MasterWebUIMountTable();
response.setDebug(ServerConfiguration.getBoolean(PropertyKey.DEBUG));
Map<String, MountPointInfo> mountPointInfo = getMountPointsInternal();
response.setMountPointInfos(mountPointInfo);
return response;
}, ServerConfiguration.global());
}
Aggregations