use of lucee.runtime.type.DoubleStruct in project Lucee by lucee.
the class Surveillance method getInfoMemory.
private static void getInfoMemory(Struct parent, ConfigImpl config) throws PageException {
DoubleStruct server = new DoubleStruct();
DoubleStruct web = new DoubleStruct();
parent.set(KeyConstants._server, server);
parent.set(KeyConstants._web, web);
boolean isConfigWeb = config instanceof ConfigWeb;
// web
if (isConfigWeb) {
_getInfoMemory(web, server, (ConfigWeb) config);
} else {
ConfigWeb[] configs = ((ConfigServer) config).getConfigWebs();
for (int i = 0; i < configs.length; i++) {
_getInfoMemory(web, server, configs[i]);
}
}
}
Aggregations