(Context context)
| 90 | private long curTime; |
| 91 | |
| 92 | @Override |
| 93 | protected void setup(Context context) throws IOException, |
| 94 | InterruptedException { |
| 95 | urlNormalizers = new URLNormalizers(context.getConfiguration(), |
| 96 | URLNormalizers.SCOPE_INJECT); |
| 97 | interval = context.getConfiguration().getInt("db.fetch.interval.default", |
| 98 | 2592000); |
| 99 | filters = new URLFilters(context.getConfiguration()); |
| 100 | scfilters = new ScoringFilters(context.getConfiguration()); |
| 101 | scoreInjected = context.getConfiguration().getFloat("db.score.injected", |
| 102 | 1.0f); |
| 103 | curTime = context.getConfiguration().getLong("injector.current.time", |
| 104 | System.currentTimeMillis()); |
| 105 | } |
| 106 | |
| 107 | protected void map(LongWritable key, Text value, Context context) |
| 108 | throws IOException, InterruptedException { |
nothing calls this directly
no test coverage detected