use java.util.concurrent classes inside the flashmap