(String operation)
| 62 | } |
| 63 | |
| 64 | public void error(String operation) { |
| 65 | String op = operation.toLowerCase(Locale.ROOT); |
| 66 | Stat stat = stats.get(op); |
| 67 | if (stat == null) { |
| 68 | stat = new Stat(); |
| 69 | stats.put(op, stat); |
| 70 | } |
| 71 | stat.errors.incrementAndGet(); |
| 72 | } |
| 73 | |
| 74 | public void storeFailureDetails(String operation, ZkNodeProps request, SolrResponse resp) { |
| 75 | String op = operation.toLowerCase(Locale.ROOT); |