public class ReportDB_Redis extends ReportDB_Simple
ReportDB.status| Modifier and Type | Field and Description |
|---|---|
static String |
DEF_MODULE |
log, moduleId, StateReportList| Constructor and Description |
|---|
ReportDB_Redis() |
ReportDB_Redis(String moduleId) |
ReportDB_Redis(String moduleId,
String host) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(es.tid.pce.pcep.constructs.StateReport rpt) |
void |
clearStateReports() |
void |
fillFromDB() |
void |
fillFromXML(String path) |
es.tid.pce.pcep.constructs.StateReport |
get(int rptId) |
String |
getStateReportListKey() |
boolean |
isDbActive() |
es.tid.pce.pcep.constructs.StateReport |
remove(int rptId) |
es.tid.pce.pcep.constructs.StateReport |
remove(es.tid.pce.pcep.constructs.StateReport rpt) |
void |
setDbActive(boolean dbActive) |
void |
update(es.tid.pce.pcep.constructs.StateReport rpt) |
clearReports, getKey, getModuleId, getVersion, setModuleIdpublic static final String DEF_MODULE
public ReportDB_Redis()
public ReportDB_Redis(String moduleId)
public void fillFromDB()
public void fillFromXML(String path)
public void add(es.tid.pce.pcep.constructs.StateReport rpt)
add in interface ReportDBadd in class ReportDB_Simplepublic es.tid.pce.pcep.constructs.StateReport remove(int rptId)
throws NullPointerException
remove in interface ReportDBremove in class ReportDB_SimpleNullPointerExceptionpublic es.tid.pce.pcep.constructs.StateReport remove(es.tid.pce.pcep.constructs.StateReport rpt)
throws NullPointerException
remove in interface ReportDBremove in class ReportDB_SimpleNullPointerExceptionpublic void clearStateReports()
public void update(es.tid.pce.pcep.constructs.StateReport rpt)
update in interface ReportDBupdate in class ReportDB_Simplepublic es.tid.pce.pcep.constructs.StateReport get(int rptId)
get in interface ReportDBget in class ReportDB_Simplepublic String getStateReportListKey()
public boolean isDbActive()
public void setDbActive(boolean dbActive)
Copyright © 2016. All rights reserved.