private void setState(final LoadState newState, final Map<String, ConnectorState> connStates) {
            if (connStates != null) {
                this.lastConnectorStates = connStates;
            }
            final LiveDataState ldState = new LiveDataState(newState, this.cachedResultAvailableViewport, this.lastConnectorStates);
            Log.iForce(LOGPRAEFIX + "set state to " + ldState);
            onStateChange.accept(ldState);
        }
accepts requests to load geocaches online but allows configuring of a maximum update rate
main/src/main/java/cgeo/geocaching/unifiedmap/LiveMapGeocacheLoader.java