public class BulkImportStatusImpl extends Object implements BulkImportStatus
BulkImportStatus
Modifier and Type | Class and Description |
---|---|
static class |
BulkImportStatusImpl.NodeState |
Constructor and Description |
---|
BulkImportStatusImpl() |
public String getSourceDirectory()
getSourceDirectory
in interface BulkImportStatus
public String getTargetSpace()
getTargetSpace
in interface BulkImportStatus
public Date getStartDate()
getStartDate
in interface BulkImportStatus
public Date getEndDate()
getEndDate
in interface BulkImportStatus
public Long getDurationInNs()
getDurationInNs
in interface BulkImportStatus
public Long getDuration()
public Throwable getLastException()
getLastException
in interface BulkImportStatus
public String getLastExceptionAsString()
getLastExceptionAsString
in interface BulkImportStatus
public boolean inProgress()
inProgress
in interface BulkImportStatus
public long getNumberOfBatchesCompleted()
getNumberOfBatchesCompleted
in interface BulkImportStatus
public void incrementNumberOfBatchesCompleted()
public void stopImport()
public void stopImport(Throwable lastException)
public void reportException(Throwable exception)
public long getNumberOfFoldersScanned()
getNumberOfFoldersScanned
in interface BulkImportStatus
public long getNumberOfFilesScanned()
getNumberOfFilesScanned
in interface BulkImportStatus
public long getNumberOfUnreadableEntries()
getNumberOfUnreadableEntries
in interface BulkImportStatus
public long getNumberOfContentFilesRead()
getNumberOfContentFilesRead
in interface BulkImportStatus
public long getNumberOfContentBytesRead()
getNumberOfContentBytesRead
in interface BulkImportStatus
public long getNumberOfMetadataFilesRead()
getNumberOfMetadataFilesRead
in interface BulkImportStatus
public long getNumberOfMetadataBytesRead()
getNumberOfMetadataBytesRead
in interface BulkImportStatus
public long getNumberOfContentVersionFilesRead()
getNumberOfContentVersionFilesRead
in interface BulkImportStatus
public long getNumberOfContentVersionBytesRead()
getNumberOfContentVersionBytesRead
in interface BulkImportStatus
public long getNumberOfMetadataVersionFilesRead()
getNumberOfMetadataVersionFilesRead
in interface BulkImportStatus
public long getNumberOfMetadataVersionBytesRead()
getNumberOfMetadataVersionBytesRead
in interface BulkImportStatus
public void incrementImportableItemsRead(ImportableItem importableItem, boolean isDirectory)
public void incrementNumberOfFilesScanned()
public void incrementNumberOfFoldersScanned()
public void incrementNumberOfUnreadableEntries()
public void incrementImportableItemsSkipped(ImportableItem importableItem, boolean isDirectory)
public long getNumberOfSpaceNodesCreated()
getNumberOfSpaceNodesCreated
in interface BulkImportStatus
public long getNumberOfSpaceNodesReplaced()
getNumberOfSpaceNodesReplaced
in interface BulkImportStatus
public long getNumberOfSpaceNodesSkipped()
getNumberOfSpaceNodesSkipped
in interface BulkImportStatus
public long getNumberOfSpacePropertiesWritten()
getNumberOfSpacePropertiesWritten
in interface BulkImportStatus
public long getNumberOfContentNodesCreated()
getNumberOfContentNodesCreated
in interface BulkImportStatus
public long getNumberOfContentNodesReplaced()
getNumberOfContentNodesReplaced
in interface BulkImportStatus
public long getNumberOfContentNodesSkipped()
getNumberOfContentNodesSkipped
in interface BulkImportStatus
public long getNumberOfContentBytesWritten()
getNumberOfContentBytesWritten
in interface BulkImportStatus
public long getNumberOfContentPropertiesWritten()
getNumberOfContentPropertiesWritten
in interface BulkImportStatus
public long getNumberOfContentVersionsCreated()
getNumberOfContentVersionsCreated
in interface BulkImportStatus
public long getNumberOfContentVersionBytesWritten()
getNumberOfContentVersionBytesWritten
in interface BulkImportStatus
public long getNumberOfContentVersionPropertiesWritten()
getNumberOfContentVersionPropertiesWritten
in interface BulkImportStatus
public void incrementContentBytesWritten(ImportableItem importableItem, boolean isSpace, BulkImportStatusImpl.NodeState nodeState)
public void incrementNodesWritten(ImportableItem importableItem, boolean isSpace, BulkImportStatusImpl.NodeState nodeState, long numProperties, long numVersionProperties)
public Long getFilesReadPerSecond()
getFilesReadPerSecond
in interface BulkImportStatus
public Long getBytesReadPerSecond()
getBytesReadPerSecond
in interface BulkImportStatus
public Long getEntriesScannedPerSecond()
getEntriesScannedPerSecond
in interface BulkImportStatus
public Long getBytesWrittenPerSecond()
getBytesWrittenPerSecond
in interface BulkImportStatus
public Long getNodesCreatedPerSecond()
getNodesCreatedPerSecond
in interface BulkImportStatus
public int getNumThreads()
getNumThreads
in interface BulkImportStatus
public int getBatchSize()
getBatchSize
in interface BulkImportStatus
public void setNumThreads(int numThreads)
public void setBatchSize(int batchSize)
Copyright © 2005–2017 Alfresco Software. All rights reserved.