public boolean syncServiceInstance() {
final ApiConnector api = _manager.getApiConnector();
boolean inSync;
try {
@SuppressWarnings("unchecked")
List<ServiceInstance> siList = (List<ServiceInstance>)api.list(ServiceInstance.class, null);
java.util.Collections.sort(siList, new ServiceInstanceComparator());
DBSyncGeneric.SyncStats stats = new DBSyncGeneric.SyncStats();
_dbSync.syncCollections(ServiceInstance.class, _manager.getDatabase().getServiceInstances(), siList, _rwMode, stats);
inSync = stats.create == 0 && stats.delete == 0;
} catch (Exception ex) {