public abstract class CoprocessorHost.ObserverOperationWithResult<O,R> extends CoprocessorHost.ObserverOperation<O>
Modifier and Type | Field and Description |
---|---|
private R |
result |
observerGetter
Modifier | Constructor and Description |
---|---|
|
ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter,
R result) |
|
ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter,
R result,
boolean bypassable) |
|
ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter,
R result,
User user) |
private |
ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter,
R result,
User user,
boolean bypassable) |
Modifier and Type | Method and Description |
---|---|
protected abstract R |
call(O observer) |
(package private) void |
callObserver() |
protected R |
getResult() |
postEnvCall
bypass, createAndPrepare, getCaller, getEnvironment, isBypassable, prepare, shouldBypass
public ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter, R result)
public ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter, R result, boolean bypassable)
public ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter, R result, User user)
private ObserverOperationWithResult(CoprocessorHost.ObserverGetter<C,O> observerGetter, R result, User user, boolean bypassable)
protected abstract R call(O observer) throws IOException
IOException
void callObserver() throws IOException
callObserver
in class CoprocessorHost.ObserverOperation<O>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.