Index - All Packages - All Categories - All Classes
Class BatchCounter
Instances preallocate a bunch of numbers and record the preallocations to disk. It then increments purely in memory until the preallocated counts are used up. It then preallocates another bunch of numbers. If the system crashes, all numbers between the in-memory count and the on-disk count simply never get used. This reduces the access to disk for shepherd hashes and GrandMap IDs.
Package: Udanax-Gold
All Superclasses: Object Heaper Abraham Counter
Protocols: Object
Categories: Xanadu-counter