Changeset 5954 for SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/scan/Statistics.java
- Timestamp:
- 01/26/15 15:12:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/scan/Statistics.java
r5894 r5954 19 19 List<Long> executionTimes = Collections.synchronizedList(new ArrayList<Long>()); 20 20 21 @JsonProperty 22 List<Diagnostic> diagnostics = Collections.synchronizedList(new ArrayList<Diagnostic>()); 21 23 @JsonProperty 22 24 Map<String, Integer> errors = Collections.synchronizedMap(new HashMap<String, Integer>()); … … 78 80 } 79 81 82 public void addEndpointDiagnostic(Institution institution, String endpoint, Diagnostic diag) { 83 EndpointStats stats = getEndpointStats(institution, endpoint); 84 stats.diagnostics.add(diag); 85 } 86 80 87 public void addErrorDatapoint(Institution institution, String endpoint, SRUClientException error) { 81 88 EndpointStats stats = getEndpointStats(institution, endpoint);
Note: See TracChangeset
for help on using the changeset viewer.