Class AbstractBmRefresher

    • Constructor Detail

      • AbstractBmRefresher

        public AbstractBmRefresher​(boolean forced,
                                   Object... objects)
        Creates a new refresher instance.
        Parameters:
        forced - the flag indicating whether use forced refresh or not.
        objects - the objects, cannot be null.
    • Method Detail

      • needRefresh

        protected abstract boolean needRefresh​(IBmModel model,
                                               IBmObject[] objects,
                                               IBmLongMap<BmChangeEvent> changeEvents)
        Returns true if refresh is needed for the specified event.
        Parameters:
        model - the BM model, cannot be null.
        objects - the BM objects the refresher is creted for, cannot be null.
        changeEvents - the BM change events, cannot be null.
        Returns:
        true if refresh is needed for the specified event.