Update of Replication Sync Server Configuration

Updates the properties of the replication synchronization server configuration.

Syntax

void updateReplicationSyncServerConfiguration(ServerComponentVO serverComponent) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Update
    supServerConf.refresh();
    ServerComponentVO scvo = supServerConf.getReplicationSyncServerConfiguration();
    ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType());
    Map<String, String> properties = scvo.getProperties();
    properties.put("sup.sync.protocol", "http");
    properties.put("ml.threadcount", "50");
    scvo_new.setProperties(properties);
    supServerConf.updateReplicationSyncServerConfiguration(scvo_new);
    supServerConf.commit();