Updates the configuration of the replication pull notification.
void updateReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE replicationNotifierType, ServerComponentVO serverComponent) throws SUPAdminException; void enableReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE replicationNotiferType, Boolean flag) throws SUPAdminException;
If successful, returns silently. If unsuccessful, returns SUPAdminException.
supServerConf.refresh(); ServerComponentVO scvo = supServerConf.getReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE.PULL); ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType()); Map<String, String> properties = scvo.getProperties(); properties.put("poll_every", "10"); scvo_new.setProperties(properties); supServerConf.updateReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE.PULL, scvo_new); supServerConf.enableReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE.PULL, true); supServerConf.commit();