Class CoprocessorHost.ObserverOperationWithoutResult<O>
java.lang.Object
org.apache.hadoop.hbase.coprocessor.ObserverContextImpl<E>
CoprocessorHost<C,E>.ObserverOperation<O>
org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperationWithoutResult<O>
- All Implemented Interfaces:
ObserverContext<E>
- Direct Known Subclasses:
MasterCoprocessorHost.MasterObserverOperation
,RegionCoprocessorHost.BulkLoadObserverOperation
,RegionCoprocessorHost.RegionObserverOperationWithoutResult
,RegionServerCoprocessorHost.RegionServerObserverOperation
,WALCoprocessorHost.WALObserverOperation
- Enclosing class:
- CoprocessorHost<C extends Coprocessor,
E extends CoprocessorEnvironment<C>>
public abstract class CoprocessorHost.ObserverOperationWithoutResult<O>
extends CoprocessorHost<C,E>.ObserverOperation<O>
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperation
observerGetter
-
Constructor Summary
ConstructorDescriptionObserverOperationWithoutResult
(CoprocessorHost.ObserverGetter<C, O> observerGetter) ObserverOperationWithoutResult
(CoprocessorHost.ObserverGetter<C, O> observerGetter, User user) ObserverOperationWithoutResult
(CoprocessorHost.ObserverGetter<C, O> observerGetter, User user, boolean bypassable) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
(package private) void
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.Methods inherited from class org.apache.hadoop.hbase.coprocessor.CoprocessorHost.ObserverOperation
postEnvCall
Methods inherited from class org.apache.hadoop.hbase.coprocessor.ObserverContextImpl
bypass, createAndPrepare, getCaller, getEnvironment, isBypassable, prepare, shouldBypass
-
Constructor Details
-
ObserverOperationWithoutResult
-
ObserverOperationWithoutResult
public ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C, O> observerGetter, User user) -
ObserverOperationWithoutResult
public ObserverOperationWithoutResult(CoprocessorHost.ObserverGetter<C, O> observerGetter, User user, boolean bypassable)
-
-
Method Details
-
call
- Throws:
IOException
-
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. We simply ignore such cases.- Specified by:
callObserver
in classCoprocessorHost<C extends Coprocessor,
E extends CoprocessorEnvironment<C>>.ObserverOperation<O> - Throws:
IOException
-