Project

General

Profile

« Previous | Next » 

Revision 52943

Adding counters for testing

View differences:

ResultTagger.java
26 26
        final OafProtos.Oaf.Builder builder = OafProtos.Oaf.newBuilder(oaf);
27 27

  
28 28

  
29
        if(oaf.getDataInfo().getDeletedbyinference())
29
        if(oaf.getDataInfo().getDeletedbyinference()){
30
            context.getCounter(COUNTER_GROUP, "deleted by inference").increment(1);
30 31
            return null;
32
        }
31 33

  
34

  
32 35
        final List<ResultProtos.Result.Context> contextList = oaf.getEntity().getResult().getMetadata().getContextList();
33 36

  
34 37
        //communities contains all the communities to be added as context for the result

Also available in: Unified diff