public void restoreFromLastState() {
        producer.initializeDataModel(dataModel);
        long latestAnnouncedVersion = announcementWatcher.getLatestVersion();
        if (latestAnnouncedVersion == HollowFilesystemAnnouncementWatcher.NO_ANNOUNCEMENT_AVAILABLE || latestAnnouncedVersion < 0) {
            return;
        }

        restore(latestAnnouncedVersion, blobRetriever);
    }
public void restoreFromLastState ( ) { producer . initializeDataModel ( dataModel ) ; long latestAnnouncedVersion = announcementWatcher . getLatestVersion ( ) ; if ( latestAnnouncedVersion == HollowFilesystemAnnouncementWatcher . NO_ANNOUNCEMENT_AVAILABLE || latestAnnouncedVersion < 0 ) { return ; } restore ( latestAnnouncedVersion , blobRetriever ) ; }
Initializes the data model and restores from existing state.