(String key, int defaultValue)
| 369 | // TODO NUTCH-1709 Generated classes o.a.n.storage.Host and |
| 370 | // o.a.n.storage.ProtocolStatus contain methods not defined in source .avsc |
| 371 | public int getInt(String key, int defaultValue) { |
| 372 | if (!contains(key)) |
| 373 | return defaultValue; |
| 374 | return Integer.parseInt(getValue(key, null)); |
| 375 | } |
| 376 | |
| 377 | // TODO NUTCH-1709 Generated classes o.a.n.storage.Host and |
| 378 | // o.a.n.storage.ProtocolStatus contain methods not defined in source .avsc |