Issue #3303918 by pwolanin: Make it simpler to subclass the DatabaseQueue for very similar queue types