Skip to content
Snippets Groups Projects
Commit a19ef10c authored by Thomas Lopatic's avatar Thomas Lopatic
Browse files

Added comments.

parent e1245743
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,19 @@ public class AcknowledgedCounterGenerator extends CounterGenerator
limit = countstart - 1;
}
/**
* In this generator, the highest acknowledged counter value
* (as opposed to the highest generated counter value).
*/
@Override
public int lastInt()
{
return limit;
}
/**
* Make a generated counter value available via lastInt().
*/
public synchronized void acknowledge(int value)
{
ack.add(value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment