MCPcopy Create free account
hub / github.com/zaproxy/zaproxy / getSingleton

Method getSingleton

zap/src/main/java/org/zaproxy/zap/db/sql/DbSQL.java:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 private Map<String, StatementPool> stmtPool = new HashMap<>();
62
63 public static DbSQL getSingleton() {
64 if (singleton == null) {
65 singleton = new DbSQL();
66 }
67 return singleton;
68 }
69
70 static void reset() {
71 dbProperties = null;

Callers 15

initMethod · 0.95
readMethod · 0.95
getAllMethod · 0.95
insertMethod · 0.95
updateMethod · 0.95
readMethod · 0.95
insertMethod · 0.95
deleteMethod · 0.95
getAllDataMethod · 0.95
getDataForContextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected