org.apache.catalina.ha.deploy
protected class WarWatcher.WarInfo extends Object
| Field Summary | |
|---|---|
| protected long | lastChecked |
| protected long | lastState |
| protected File | war |
| Constructor Summary | |
|---|---|
| WarInfo(File war) | |
| Method Summary | |
|---|---|
| int | check()
Returns 1 if the file has been added/modified, 0 if the file is
unchanged and -1 if the file has been removed
|
| boolean | equals(Object other) |
| boolean | exists() |
| File | getWar() |
| int | hashCode() |
| boolean | modified() |
| protected void | setLastState(int lastState) |
Returns: int 1=file added; 0=unchanged; -1=file removed