Interface EntryFilter
- All Known Implementing Classes:
EntryFilterWithClassLoader
public interface EntryFilter
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()close the entry filter.filterEntry(Entry entry, FilterContext context) 1.
-
Method Details
-
filterEntry
1. Broker determines whether to filter out this entry based on the return value of this method. 2. Do not deserialize the entire entry in this method, which has a great impact on the broker's memory and CPU. 3. Return ACCEPT or null will be regarded as ACCEPT.- Parameters:
entry-context-- Returns:
-
close
void close()close the entry filter.
-