From 676be63f35ad464491041825f3d1198fbcf484af Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 5 Apr 2007 02:49:54 +0000 Subject: [PATCH] test ProcFileMirror --- .../java/src/org/hyperic/sigar/cmd/Watch.java | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/bindings/java/src/org/hyperic/sigar/cmd/Watch.java b/bindings/java/src/org/hyperic/sigar/cmd/Watch.java index 9f1c2787..d8e87ad1 100644 --- a/bindings/java/src/org/hyperic/sigar/cmd/Watch.java +++ b/bindings/java/src/org/hyperic/sigar/cmd/Watch.java @@ -29,6 +29,7 @@ import org.hyperic.sigar.DirStat; import org.hyperic.sigar.FileInfo; import org.hyperic.sigar.FileWatcher; import org.hyperic.sigar.FileWatcherThread; +import org.hyperic.sigar.ProcFileMirror; /** * Watch a file or directory displaying attribute changes. @@ -129,11 +130,22 @@ public class Watch { watcher.setInterval(watcherThread.getInterval()); for (int i=0; i