We have a "periodicallyExtract" and "shouldPeriodicallyExtract". The purpose of these functions isn't clear from their names alone. The "getPollingRate" function should be usable instead. I suggest deleting "shouldPeriodicallyExtract" and replacing its references with a test for "getPollingRate() > 0".