@FunctionalInterface public static interface CoprocessorHost.ObserverGetter<C,O> extends Function<C,Optional<O>>
O
from a coprocessor of
type C
. Concrete implementations of CoprocessorHost define one getter for each
observer they can handle. For e.g. RegionCoprocessorHost will use 3 getters, one for
each of RegionObserver, EndpointObserver and BulkLoadObserver.
These getters are used by ObserverOperation
to get appropriate observer from the
coprocessor.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.