coreRuntime/src/sc/sync/SyncManager.java
public static SyncResult sendSyncToAll(String syncGroup, boolean sendReset, boolean markAsSentOnly) {
      boolean anyChanges = false;
      String errorMessage = null;
      for (String destName:syncManagersByDest.keySet()) {
         SyncResult res = sendSync(destName, syncGroup, sendReset, markAsSentOnly, null, null, null);
         anyChanges = anyChanges || res.anyChanges;
         if (errorMessage == null)
            errorMessage = res.errorMessage;
      }
      return new SyncResult(anyChanges, errorMessage);
   }
/**
    * Does a global sync across all destinations for all current sync contexts.  If you use SYNC_ALL as the sync group
    * it will synchronize all sync groups.  Specifying a null syncGroup will choose the default sync group only.
    */
Does a global sync across all destinations for all current sync contexts.  If you use SYNC_ALL as the sync group
it will synchronize all sync groups.  Specifying a null syncGroup will choose the default sync group only.
Does a global sync across all destinations for all current sync contexts . If you use SYNC_ALL as the sync group it will synchronize all sync groups . Specifying a null syncGroup will choose the default sync group only .
public static SyncResult sendSyncToAll(String syncGroup, boolean sendReset, boolean markAsSentOnly) {
      boolean anyChanges = false;
      String errorMessage = null;
      for (String destName:syncManagersByDest.keySet()) {
         SyncResult res = sendSync(destName, syncGroup, sendReset, markAsSentOnly, null, null, null);
         anyChanges = anyChanges || res.anyChanges;
         if (errorMessage == null)
            errorMessage = res.errorMessage;
      }
      return new SyncResult(anyChanges, errorMessage);
   }
public static SyncResult sendSyncToAll ( String syncGroup , boolean sendReset , boolean markAsSentOnly ) { boolean anyChanges = false ; String errorMessage = null ; for ( String destName : syncManagersByDest . keySet ( ) ) { SyncResult res = sendSync ( destName , syncGroup , sendReset , markAsSentOnly , null , null , null ) ; anyChanges = anyChanges || res . anyChanges ; if ( errorMessage == null ) errorMessage = res . errorMessage ; } return new SyncResult ( anyChanges , errorMessage ) ; }
Does a global sync across all destinations for all current sync contexts.
Does a global sync across all destinations for all current sync contexts .