implementation of singlediskqueueprocessor.py and randomdiskqueueprocessor.py