@NotThreadSafe public final class UpdateChecker extends Object implements HeartbeatExecutor
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any resources used by the heartbeat executor.
|
static UpdateChecker |
create(FuseOptions fuseOptions)
Creates a
UpdateChecker . |
void |
heartbeat(long timeLimitMs)
Heartbeat for the periodic update check.
|
public static UpdateChecker create(FuseOptions fuseOptions)
UpdateChecker
.fuseOptions
- the fuse optionspublic void heartbeat(long timeLimitMs)
heartbeat
in interface HeartbeatExecutor
timeLimitMs
- time limit in milliseconds this heartbeat should not exceed when runningpublic void close()
HeartbeatExecutor
close
in interface HeartbeatExecutor
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.