|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommands.UpdateInterface
Commands to update a list of interface records in the GLTMon database. The commands use a list of retrieved device interfacess to compare against a list of checked ifIndexs. Those that differ get updated in the GLTMon database.
| Constructor Summary | |
UpdateInterface()
|
|
| Method Summary | |
void |
done()
Clean up after the command's execution. |
java.lang.String |
getDeviceName()
|
java.lang.String |
getUpdateResults()
|
void |
initialize(java.lang.String dbContext,
javax.servlet.http.HttpServletRequest request)
Initialize the command with the database context and request. |
void |
updateMonitoring()
Execute the updateMonitoring UpdateInterface command. |
void |
updateRemoved()
Execute the updateRemoved UpdateInterface command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UpdateInterface()
| Method Detail |
public java.lang.String getUpdateResults()
public java.lang.String getDeviceName()
public void initialize(java.lang.String dbContext,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
dbContext - String containing the JNDI context resourcerequest - HttpServletRequest holding the full HTTP request
java.lang.Exception - containing the reason the initialize failed
public void updateMonitoring()
throws java.lang.Exception
java.lang.Exception - to indicate a failed query
public void updateRemoved()
throws java.lang.Exception
java.lang.Exception - to indicate a failed querypublic void done()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||