}
public AbstractSubscriptionManager(ServerConfiguration cfg, TopicManager tm, PersistenceManager pm,
ScheduledExecutorService scheduler) {
this.cfg = cfg;
queuer = new TopicOpQueuer(scheduler);
tm.addTopicOwnershipChangeListener(this);
this.pm = pm;
// Schedule the recurring MessagesConsumedTask only if a
// PersistenceManager is passed.
if (pm != null) {