// can return a different type from findAffinityGroups.
builder = new SingleGraphBuilder(properties, systemRegistry,
txnProxy, false);
// Create our group finder and graph builder JMX MBeans
AffinityGroupFinderStats stats =
new AffinityGroupFinderStats(this, col, -1);
builderStats = new AffinityGraphBuilderStats(col,
builder.getAffinityGraph(),
periodCount, snapshot);
// We must set the stats before exporting ourself!
builder.setStats(builderStats);