@Override public void fillOperationMetrics(AllOperationMetrics metrics) { metrics.GET = ExternalOperationMetrics.create(_getMetrics); metrics.PUT = ExternalOperationMetrics.create(_putMetrics); metrics.DELETE = ExternalOperationMetrics.create(_deleteMetrics); _storeHandler.augmentOperationMetrics(metrics); }
protected ServletServiceResponse _handleDelete( ServletServiceRequest request, ServletServiceResponse response, OperationDiagnostics stats, K key) throws IOException { response = (ServletServiceResponse) _storeHandler.removeEntry(request, response, key, stats); _addStdHeaders(response); return response; }
protected ServletServiceResponse _handlePut( ServletServiceRequest request, ServletServiceResponse response, OperationDiagnostics stats, K key) throws IOException { response = (ServletServiceResponse) _storeHandler.putEntry(request, response, key, request.getInputStream(), stats); _addStdHeaders(response); return response; }