Class QueueTracker.BinCount
- java.lang.Object
-
- org.apache.manifoldcf.crawler.interfaces.QueueTracker.BinCount
-
- Enclosing class:
- QueueTracker
protected static class QueueTracker.BinCount extends java.lang.ObjectThis is the class which allows a mutable integer count value to be saved in the bincount table.
-
-
Field Summary
Fields Modifier and Type Field Description protected intcountThe count
-
Constructor Summary
Constructors Constructor Description BinCount()Create
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecrement()Decrement the counter, returning true if emptyQueueTracker.BinCountduplicate()intgetValue()Get the counter valuevoidincrement()Increment the countervoidsetValue(int count)Set the counter value
-
-
-
Method Detail
-
duplicate
public QueueTracker.BinCount duplicate()
-
increment
public void increment()
Increment the counter
-
decrement
public boolean decrement()
Decrement the counter, returning true if empty
-
setValue
public void setValue(int count)
Set the counter value
-
getValue
public int getValue()
Get the counter value
-
-