use of org.glassfish.api.monitoring.ProbeInfo in project Payara by payara.
the class FlashlightProbeProvider method getProbesInfo.
public ProbeInfo[] getProbesInfo() {
// confusing -- the *map* of the probes is named "probes"
Collection<FlashlightProbe> fprobes = getProbes();
ProbeInfo[] infos = new ProbeInfo[fprobes.size()];
int i = 0;
for (FlashlightProbe fprobe : fprobes) {
infos[i++] = (ProbeInfo) fprobe;
}
return infos;
}
Aggregations