MSI Cache Coherency Protocol in Java