if (session.addNotification(finder, Notification.from(entry.getKey()))) { counts.added++;
if (session.addNotification(finder, Notification.from(entry.getKey()))) { counts.added++;
/** * Starts a session for adding notifications. During this session, any notifications that are * deleted and match the predicate will be remembered. These remembered notifications can not be * added again while the session is active. */ public Session beginAddingNotifications(Predicate<RowColumn> memoryPredicate) { return new Session(memoryPredicate); }
/** * Starts a session for adding notifications. During this session, any notifications that are * deleted and match the predicate will be remembered. These remembered notifications can not be * added again while the session is active. */ public Session beginAddingNotifications(Predicate<RowColumn> memoryPredicate) { return new Session(memoryPredicate); }