queueEmptyLock = new StoppableReentrantLock(sender.getCancelCriterion()); queueEmptyCondition = queueEmptyLock.newCondition(); this.removalThread = new BatchRemovalThread((GemFireCacheImpl)sender.getCache()); this.removalThread.start();
removalThread = new BatchRemovalThread( (GemFireCacheImpl)sender.getCache(), this); removalThread.start();