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