public abstract class CoprocessorHost.ObserverOperationWithoutResult<O> extends CoprocessorHost.ObserverOperation<O>
observerGetter| Constructor and Description |
|---|
ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C,O> observerGetter) |
ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C,O> observerGetter,
User user) |
ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C,O> observerGetter,
User user,
boolean bypassable) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
call(O observer) |
(package private) void |
callObserver()
In case of coprocessors which have many kinds of observers (for eg,
RegionCoprocessor
has BulkLoadObserver, RegionObserver, etc), some implementations may not need all
observers, in which case they will return null for that observer's getter. |
postEnvCallbypass, createAndPrepare, getCaller, getEnvironment, isBypassable, prepare, shouldBypasspublic ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C,O> observerGetter)
public ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C,O> observerGetter, User user)
public ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C,O> observerGetter, User user, boolean bypassable)
protected abstract void call(O observer) throws IOException
IOExceptionvoid callObserver() throws IOException
RegionCoprocessor
has BulkLoadObserver, RegionObserver, etc), some implementations may not need all
observers, in which case they will return null for that observer's getter.
We simply ignore such cases.callObserver in class CoprocessorHost.ObserverOperation<O>IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.