gov.nasa.pds.harvest.crawler.stats
Class AssociationStats

java.lang.Object
  extended by gov.nasa.pds.harvest.crawler.stats.AssociationStats

public class AssociationStats
extends Object

Class that captures statistics on how associations were handled during the crawling process.

Author:
mcayanan

Constructor Summary
AssociationStats()
          Constructor.
 
Method Summary
 void addNumNotRegistered(int num)
          Adds the given number to the number of associations not registered.
 void addNumRegistered(int num)
          Adds the given number to the number of associations registered.
 void addNumSkipped(int num)
          Adds the given number to the number of associations skipped.
 void clear()
          Clears the statistics
 int getNumNotRegistered()
           
 int getNumRegistered()
           
 int getNumSkipped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationStats

public AssociationStats()
Constructor.

Method Detail

clear

public void clear()
Clears the statistics


getNumSkipped

public int getNumSkipped()
Returns:
the number of associations skipped.

addNumSkipped

public void addNumSkipped(int num)
Adds the given number to the number of associations skipped.

Parameters:
num - An integer value to add.

getNumRegistered

public int getNumRegistered()
Returns:
the number of associations registered.

addNumRegistered

public void addNumRegistered(int num)
Adds the given number to the number of associations registered.

Parameters:
num - An integer value to add.

getNumNotRegistered

public int getNumNotRegistered()
Returns:
the number of associations not registered.

addNumNotRegistered

public void addNumNotRegistered(int num)
Adds the given number to the number of associations not registered.

Parameters:
num - An integer value to add.


Copyright © 2010-2011 Planetary Data System. All Rights Reserved.