public class DbCachingTestHelper.PartialSyncTask extends Object
| Constructor and Description | 
|---|
PartialSyncTask(String directoryName)  | 
| Modifier and Type | Method and Description | 
|---|---|
DbCachingTestHelper.PartialSyncTask | 
maxWaitMs(long maxWaitMs)
Sets the maximum time in milliseconds to wait for synchronisation to finish. 
 | 
DbCachingTestHelper.PartialSyncTask | 
shortDescription(String shortDescription)
Sets a short description of the synchronisation task. 
 | 
DbCachingTestHelper.SyncInfo | 
sync()
Synchronises the directory and waits until the synchronisation has finished. 
 | 
public PartialSyncTask(String directoryName)
directoryName - Name of the directory to synchronise.public DbCachingTestHelper.PartialSyncTask maxWaitMs(long maxWaitMs)
maxWaitMs - maximum wait time in millisecondspublic DbCachingTestHelper.PartialSyncTask shortDescription(String shortDescription)
shortDescription - of the synchronisation task.public DbCachingTestHelper.SyncInfo sync()
RuntimeException - if the synchronisation doesn't finish within the specified maximum wait time (or
                          default time if no max wait time was set).Copyright © 2018 Atlassian. All rights reserved.