Class QueueTracker.BinCount
- java.lang.Object
-
- org.apache.manifoldcf.crawler.interfaces.QueueTracker.BinCount
-
- Enclosing class:
- QueueTracker
protected static class QueueTracker.BinCount extends java.lang.Object
This 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 int
count
The count
-
Constructor Summary
Constructors Constructor Description BinCount()
Create
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
decrement()
Decrement the counter, returning true if emptyQueueTracker.BinCount
duplicate()
int
getValue()
Get the counter valuevoid
increment()
Increment the countervoid
setValue(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
-
-