public void persistStats()
{
// XXX: Am I using _accessor too directly here?
// took around 35 ms from desktop to ESV4 machine
PersistentStats stats = _accessor.getProperty(_keyBuilder.persistantStat());
if (stats == null)
{
stats = new PersistentStats(PersistentStats.nodeName); // TODO: fix naming of
// this record, if it
// matters
}
stats.getRecord().setMapFields(_statMap);
boolean retVal = _accessor.setProperty(_keyBuilder.persistantStat(),
stats);
}