Interface ReplicationFilter

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ReplicationFilter
    Delegate that takes Document input parameter and bool output parameter Document push and pull will be allowed if the predicate returns true. Document will be not be replicated, push or pull, otherwise.
    • Method Detail

      • filtered

        boolean filtered​(@NonNull
                         Document document,
                         @NonNull
                         java.util.EnumSet<DocumentFlag> flags)