@Override
public void processed(RegionServerOperation op) {
LOG.debug("Master processing object: " + op.getClass().getCanonicalName());
if(op instanceof ProcessRegionClose) {
ProcessRegionClose regionCloseOp = (ProcessRegionClose)op;
String region = regionCloseOp.getRegionInfo().getRegionNameAsString();
LOG.debug("Finished closing region " + region + ", expected to close region " + regionToClose);
if(regionToClose.equals(region)) {
closeEventProcessed.set(true);
}
synchronized(closeEventProcessed) {