Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.sigar
Class FileWatcherThread

    java.lang.Object
      org.hyperic.sigar.FileWatcherThread

All Implemented Interfaces:
  java.lang.Runnable

public class FileWatcherThread
extends java.lang.Object
implements java.lang.Runnable

Field Summary
`static int` | `DEFAULT_INTERVAL`

Constructor Summary
`FileWatcherThread()`

Method Summary
`void` | `add(FileWatcher watcher)`
`void` | `check()`
`void` | `die()`
`void` | `doStart()`
`void` | `doStop()`
`static FileWatcherThread` | `getInstance()`
`long` | `getInterval()`
`void` | `remove(FileWatcher watcher)`
`void` | `run()`
`void` | `setInterval(long interval)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DEFAULT_INTERVAL

    public static final int DEFAULT_INTERVAL

See Also:
  Constant Field Values

Constructor Detail

### FileWatcherThread

    public FileWatcherThread()

Method Detail

### getInstance

    public static FileWatcherThread getInstance()

### doStart

    public void doStart()

### doStop

    public void doStop()

### setInterval

    public void setInterval(long interval)

### getInterval

    public long getInterval()

### add

    public void add(FileWatcher watcher)

### remove

    public void remove(FileWatcher watcher)

### run

    public void run()

  Specified by:
    `run` in interface `java.lang.Runnable`

### die

    public void die()

### check

    public void check()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 Hyperic. All Rights Reserved.