|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.agent.AclThreadStarter
This class is to start the thread which dynamically updates the values to the AclTable from the persisted file. This class will be invoked on using the AutoRefresh Methods.
#AclTableRequestHandler| Field Summary | |
(package private) java.io.File |
aclFile
|
(package private) AclTableRequestHandler |
aclTableReqHdlr
|
(package private) int |
autoRefreshTimeInt
|
(package private) int |
count
|
(package private) long |
lastModified
|
| Constructor Summary | |
AclThreadStarter(AclTableRequestHandler aclTableReqHdlr)
Primary constructor of AclThreadStarter with default auto refresh time. |
|
AclThreadStarter(AclTableRequestHandler aclTableReqHdlr,
int autoRefreshTimeInt)
Constructor which specifies the custom auto refresh time. |
|
| Method Summary | |
void |
run()
This method starts the auto refresh thread for dynamically updating values to the AclTable from the storage file. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
AclTableRequestHandler aclTableReqHdlr
int count
java.io.File aclFile
long lastModified
int autoRefreshTimeInt
| Constructor Detail |
public AclThreadStarter(AclTableRequestHandler aclTableReqHdlr)
aclTableReqHdlr - The AclTableRequestHandler Instance.
public AclThreadStarter(AclTableRequestHandler aclTableReqHdlr,
int autoRefreshTimeInt)
aclTableReqHdlr - The AclTableRequestHandler Instance.autoRefreshTimeInt - The time between two consecutive
readings of the file in seconds eg., 2 for 2 seconds.| Method Detail |
public void run()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||