}
return null;
}
public ProfilerData getProfilerStatistics(EntityManager em){
SnapshotStatistics stats = new SnapshotStatistics();
Preferences pref = DbPreferences.root(this, stats, em);
try {
SnapshotData data = stats.read(pref);
return ProfilerData.create(data);
} catch (BackingStoreException ex) {
Logger.getLogger(Logfile.class.getName()).log(Level.SEVERE, null, ex);
}
return null;