horrible cached list primes processor impl with ReadWriteLock