Package step.functions.packages
Class FunctionPackageChangeWatcher
java.lang.Object
step.functions.packages.FunctionPackageChangeWatcher
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionFunctionPackageChangeWatcher
(FunctionPackageAccessor accessor, FunctionPackageManager packageManager, int interval) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
registerWatcherForPackage
(FunctionPackage functionPackage) void
void
unregisterWatcher
(FunctionPackage functionPackage)
-
Constructor Details
-
FunctionPackageChangeWatcher
public FunctionPackageChangeWatcher(FunctionPackageAccessor accessor, FunctionPackageManager packageManager, int interval)
-
-
Method Details
-
registerWatchers
public void registerWatchers() -
registerWatcherForPackage
-
unregisterWatcher
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-