接口的使用
org.springframework.boot.devtools.filewatch.SnapshotStateRepository
使用SnapshotStateRepository的程序包
-
org.springframework.boot.devtools.filewatch中SnapshotStateRepository的使用
修饰符和类型字段说明static final SnapshotStateRepositorySnapshotStateRepository.NONEA No-opSnapshotStateRepositorythat does not save state.static final SnapshotStateRepositorySnapshotStateRepository.STATICASnapshotStateRepositorythat uses a static instance to keep state across restarts.限定符构造器说明FileSystemWatcher(boolean daemon, Duration pollInterval, Duration quietPeriod, SnapshotStateRepository snapshotStateRepository) Create a newFileSystemWatcherinstance.