Here you can find the source of isPropBlocked(String s)
private static boolean isPropBlocked(String s)
//package com.java2s; //License from project: Open Source License import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicInteger; public class Main { private static ConcurrentHashMap<String, AtomicInteger> updatingProps = new ConcurrentHashMap<>(); private static boolean isPropBlocked(String s) { AtomicInteger i = updatingProps.get(s); if (i == null) { return false; }/*from ww w .j av a2s . co m*/ return i.get() > 0; } }