101102103104105106107108
private void startEntityGroupOperation() throws NotServingEntityGroupException { lock.readLock().lock(); if (this.close.get()) { lock.readLock().unlock(); throw new NotServingEntityGroupException("GlobalEntityGroup is closed"); } }