|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.crawler.interfaces.QueueTracker.BinCount
protected static class QueueTracker.BinCount
This is the class which allows a mutable integer count value to be saved in the bincount table.
| Field Summary | |
|---|---|
protected int |
count
The count |
| Constructor Summary | |
|---|---|
QueueTracker.BinCount()
Create |
|
| Method Summary | |
|---|---|
boolean |
decrement()
Decrement the counter, returning true if empty |
QueueTracker.BinCount |
duplicate()
|
int |
getValue()
Get the counter value |
void |
increment()
Increment the counter |
void |
setValue(int count)
Set the counter value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int count
| Constructor Detail |
|---|
public QueueTracker.BinCount()
| Method Detail |
|---|
public QueueTracker.BinCount duplicate()
public void increment()
public boolean decrement()
public void setValue(int count)
public int getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||