Class CommonDatabaseDataExporter
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.backup.exporters.CommonDatabaseDataExporter
-
public class CommonDatabaseDataExporter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AtomicInteger
batchCounter
protected AtomicLong
fullDuration
protected org.slf4j.Logger
log
protected AtomicInteger
processedObjectsCounter
-
Constructor Summary
Constructors Constructor Description CommonDatabaseDataExporter(Converter converter, DatabaseExporterHelper helper, CommonPersister persister)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportInBatchByQueryWithInCondition(String query, String fieldName, Collection<Object> objectIdList, String callerName)
void
exportUniqueInBatchByQueryWithInCondition(String query, String fieldName, Collection<Object> objectIdList, String callerName)
Converter
getConverter()
List<EntityObjectReadyForExport>
getEntityObjectReadyForExports(String query, String fieldName, Collection<?> ids)
DatabaseExporterHelper
getHelper()
-
-
-
Field Detail
-
log
protected final org.slf4j.Logger log
-
batchCounter
protected final AtomicInteger batchCounter
-
fullDuration
protected final AtomicLong fullDuration
-
processedObjectsCounter
protected final AtomicInteger processedObjectsCounter
-
-
Constructor Detail
-
CommonDatabaseDataExporter
public CommonDatabaseDataExporter(Converter converter, DatabaseExporterHelper helper, CommonPersister persister)
-
-
Method Detail
-
exportInBatchByQueryWithInCondition
public void exportInBatchByQueryWithInCondition(String query, String fieldName, Collection<Object> objectIdList, String callerName)
-
exportUniqueInBatchByQueryWithInCondition
public void exportUniqueInBatchByQueryWithInCondition(String query, String fieldName, Collection<Object> objectIdList, String callerName)
-
getEntityObjectReadyForExports
public List<EntityObjectReadyForExport> getEntityObjectReadyForExports(String query, String fieldName, Collection<?> ids)
-
getConverter
public Converter getConverter()
-
getHelper
public DatabaseExporterHelper getHelper()
-
-