hollow/src/main/java/com/netflix/hollow/api/consumer/HollowConsumer.java
public void triggerRefresh() {
        refreshLock.writeLock().lock();
        try {
            updater.updateTo(announcementWatcher == null ? Long.MAX_VALUE : announcementWatcher.getLatestVersion());
        } catch (Error | RuntimeException e) {
            throw e;
        } catch (Throwable t) {
            throw new RuntimeException(t);
        } finally {
            refreshLock.writeLock().unlock();
        }
    }
public void triggerRefresh() {
        refreshLock.writeLock().lock();
        try {
            updater.updateTo(announcementWatcher == null ? Long.MAX_VALUE : announcementWatcher.getLatestVersion());
        } catch (Error | RuntimeException e) {
            throw e;
        } catch (Throwable t) {
            throw new RuntimeException(t);
        } finally {
            refreshLock.writeLock().unlock();
        }
    }
public void triggerRefresh ( ) { refreshLock . writeLock ( ) . lock ( ) ; try { updater . updateTo ( announcementWatcher == null ? Long . MAX_VALUE : announcementWatcher . getLatestVersion ( ) ) ; } catch ( Error | RuntimeException e ) { throw e ; } catch ( Throwable t ) { throw new RuntimeException ( t ) ; } finally { refreshLock . writeLock ( ) . unlock ( ) ; } }
Triggers a refresh to the latest version specified by the {@link HollowConsumer.AnnouncementWatcher}.
If already on the latest version, this operation is a no-op.
<p>
If a {@link HollowConsumer.AnnouncementWatcher} is not present, this call trigger a refresh to the
latest version available in the blob store.
<p>
This is a blocking call.
Triggers a refresh to the latest version specified by the {