Package org.duracloud.duradmin.control
Class StorageStatsController
- java.lang.Object
-
- org.duracloud.duradmin.control.StorageStatsController
-
@Controller @RequestMapping("/storagestats") public class StorageStatsController extends Object- Author:
- "Daniel Bernstein" Date: March 9, 2016
-
-
Constructor Summary
Constructors Constructor Description StorageStatsController(ContentStoreManager contentStoreManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSpaceStats(javax.servlet.http.HttpServletResponse response, String spaceId, String storeId, String start, String end)StringgetStorageProviderStats(javax.servlet.http.HttpServletResponse response, String storeId, String date)
-
-
-
Constructor Detail
-
StorageStatsController
@Autowired public StorageStatsController(@Qualifier("contentStoreManager") ContentStoreManager contentStoreManager)
-
-
Method Detail
-
getSpaceStats
@RequestMapping("/timeseries") @ResponseBody public String getSpaceStats(javax.servlet.http.HttpServletResponse response, @RequestParam(required=false,value="spaceId") String spaceId, @RequestParam(required=false,value="storeId") String storeId, @RequestParam(required=false,value="start") String start, @RequestParam(required=false,value="end") String end) throws ContentStoreException, IOException, ParseException
-
getStorageProviderStats
@RequestMapping("/snapshot-by-day") @ResponseBody public String getStorageProviderStats(javax.servlet.http.HttpServletResponse response, @RequestParam(required=false,value="storeId") String storeId, @RequestParam(required=true,value="date") String date) throws ContentStoreException, IOException, ParseException
-
-