@FunctionalInterface public interface StringObserver extends Observer
Observer.Context, Observer.NotificationType, Observer.ObservedColumn
Modifier and Type | Method and Description |
---|---|
default void |
process(TransactionBase tx,
Bytes row,
Column col)
Implemented by users to process notifications on a
Observer.ObservedColumn . |
void |
process(TransactionBase tx,
String row,
Column col) |
close, getObservedColumn, init
default void process(TransactionBase tx, Bytes row, Column col) throws Exception
Observer
Observer.ObservedColumn
. If a notification
occurs, this method passes the user a TransactionBase
as well as the row and
Column
where the notification occurred. The user can use the TransactionBase
to
read and write to Fluo. After this method returns, TransactionBase
will be committed
and closed by Fluo.void process(TransactionBase tx, String row, Column col) throws Exception
Exception
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.