org.apache.manifoldcf.crawler.interfaces
Class QueueTracker.DoubleBinCount

java.lang.Object
  extended by org.apache.manifoldcf.crawler.interfaces.QueueTracker.DoubleBinCount
Enclosing class:
QueueTracker

protected static class QueueTracker.DoubleBinCount
extends java.lang.Object

This is the class which allows a mutable integer count value to be saved in the bincount table.


Field Summary
protected  double count
          The count
 
Constructor Summary
QueueTracker.DoubleBinCount()
          Create
 
Method Summary
 QueueTracker.DoubleBinCount duplicate()
           
 double getValue()
          Get the value
 void increment()
          Increment the counter
 void setValue(double count)
          Set the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

protected double count
The count

Constructor Detail

QueueTracker.DoubleBinCount

public QueueTracker.DoubleBinCount()
Create

Method Detail

duplicate

public QueueTracker.DoubleBinCount duplicate()

increment

public void increment()
Increment the counter


setValue

public void setValue(double count)
Set the value


getValue

public double getValue()
Get the value