Interface SnapshotStateRepository
public interface SnapshotStateRepository
Repository used by 
FileSystemWatcher to save file/directory snapshots across
 restarts.- Since:
 - 2.4.0
 - Author:
 - Phillip Webb
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SnapshotStateRepositoryA No-opSnapshotStateRepositorythat does not save state.static final SnapshotStateRepositoryASnapshotStateRepositorythat uses a static instance to keep state across restarts. - 
Method Summary
 
- 
Field Details
- 
NONE
A No-opSnapshotStateRepositorythat does not save state. - 
STATIC
ASnapshotStateRepositorythat uses a static instance to keep state across restarts. 
 - 
 - 
Method Details
- 
save
Save the given state in the repository.- Parameters:
 state- the state to save
 - 
restore
Object restore()Restore any previously saved state.- Returns:
 - the previously saved state or 
null 
 
 -