public interface FilterWatcher
Modifier and Type | Interface and Description |
---|---|
static interface |
FilterWatcher.FilterResults |
Modifier and Type | Method and Description |
---|---|
Closeable |
watch(String filterRule,
java.util.function.Consumer<FilterWatcher.FilterResults> callback)
Issues callbacks to the given consumer when the results of the filter change.
|
Closeable watch(String filterRule, java.util.function.Consumer<FilterWatcher.FilterResults> callback)
filterRule
- a valid filter rule
if null, or empty the filter will match everythingcallback
- used for callbacksCopyright © 2020. All rights reserved.