@Override public void call(RegionObserver observer) throws IOException { observer.postDelete(this, delete, edit, durability); } });
@Override public void postDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete, WALEdit edit, Durability durability) throws IOException { delegate.postDelete(c, delete, edit, durability); }
@Override public void postDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete, WALEdit edit, Durability durability) throws IOException { delegate.postDelete(c, delete, edit, durability); }
@Override public void call(RegionObserver oserver, ObserverContext<RegionCoprocessorEnvironment> ctx) throws IOException { oserver.postDelete(ctx, delete, edit, durability); } });
@Override public void postDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete, WALEdit edit, Durability durability) throws IOException { delegate.postDelete(c, delete, edit, durability); }
@Override public void postDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete, WALEdit edit, Durability durability) throws IOException { if(LOG.isDebugEnabled()) { LOG.debug("==> HBaseAtlasCoprocessor.postDelete()"); } try { activatePluginClassLoader(); implRegionObserver.postDelete(c, delete, edit, durability); } finally { deactivatePluginClassLoader(); } if(LOG.isDebugEnabled()) { LOG.debug("<== HBaseAtlasCoprocessor.postDelete()"); } }
/** * @param delete The Delete object * @param edit The WALEdit object. * @param writeToWAL true if the change should be written to the WAL * @exception IOException Exception */ public void postDelete(Delete delete, WALEdit edit, final boolean writeToWAL) throws IOException { ObserverContext<RegionCoprocessorEnvironment> ctx = null; for (RegionEnvironment env: coprocessors) { if (env.getInstance() instanceof RegionObserver) { ctx = ObserverContext.createAndPrepare(env, ctx); try { ((RegionObserver)env.getInstance()).postDelete(ctx, delete, edit, writeToWAL); } catch (Throwable e) { handleCoprocessorThrowable(env, e); } if (ctx.shouldComplete()) { break; } } } }