multithreading & cache, Red.java