Class CheckpointUserData
- java.lang.Object
-
- com.ibm.fhir.jbatch.bulkdata.export.fast.CheckpointUserData
-
- All Implemented Interfaces:
Serializable
public class CheckpointUserData extends Object implements Serializable
Checkpoint data representing the state of the basic system export job- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckpointUserData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrentObjectName()
int
getCurrentObjectResourceCount()
long
getCurrentObjectSize()
int
getCurrentUploadNumber()
Instant
getFromLastModified()
List<Integer>
getResourceCounts()
Get an immutable list of the resource counts for each file processed so farList<Long>
getResourcesForLastTimestamp()
String
getResourceType()
List<com.ibm.cloud.objectstorage.services.s3.model.PartETag>
getUploadedParts()
Getter for an immutable version of the upload result listString
getUploadId()
void
setCurrentObjectName(String currentObjectName)
void
setCurrentObjectResourceCount(int currentObjectResourceCount)
void
setCurrentObjectSize(long currentObjectSize)
void
setCurrentUploadNumber(int currentUploadNumber)
void
setFromLastModified(Instant fromLastModified)
void
setResourceCounts(Collection<Integer> resourceCounts)
void
setResourcesForLastTimestamp(Collection<Long> resourcesForLastTimestamp)
void
setResourceType(String resourceType)
void
setUploadedParts(Collection<com.ibm.cloud.objectstorage.services.s3.model.PartETag> parts)
Replace uploadedParts with values from the given parts collectionvoid
setUploadId(String uploadId)
-
-
-
Method Detail
-
getFromLastModified
public Instant getFromLastModified()
- Returns:
- the fromLastModified
-
setFromLastModified
public void setFromLastModified(Instant fromLastModified)
- Parameters:
fromLastModified
- the fromLastModified to set
-
getUploadId
public String getUploadId()
- Returns:
- the uploadId
-
setUploadId
public void setUploadId(String uploadId)
- Parameters:
uploadId
- the uploadId to set
-
getUploadedParts
public List<com.ibm.cloud.objectstorage.services.s3.model.PartETag> getUploadedParts()
Getter for an immutable version of the upload result list- Returns:
- a list of
PartETag
objects
-
setUploadedParts
public void setUploadedParts(Collection<com.ibm.cloud.objectstorage.services.s3.model.PartETag> parts)
Replace uploadedParts with values from the given parts collection- Parameters:
parts
-
-
getCurrentObjectSize
public long getCurrentObjectSize()
- Returns:
- the currentObjectSize
-
setCurrentObjectSize
public void setCurrentObjectSize(long currentObjectSize)
- Parameters:
currentObjectSize
- the currentObjectSize to set
-
getCurrentObjectName
public String getCurrentObjectName()
- Returns:
- the currentObjectName
-
setCurrentObjectName
public void setCurrentObjectName(String currentObjectName)
- Parameters:
currentObjectName
- the currentObjectName to set
-
getCurrentObjectResourceCount
public int getCurrentObjectResourceCount()
- Returns:
- the currentObjectResourceCount
-
setCurrentObjectResourceCount
public void setCurrentObjectResourceCount(int currentObjectResourceCount)
- Parameters:
currentObjectResourceCount
- the currentObjectResourceCount to set
-
getCurrentUploadNumber
public int getCurrentUploadNumber()
- Returns:
- the currentUploadNumber
-
setCurrentUploadNumber
public void setCurrentUploadNumber(int currentUploadNumber)
- Parameters:
currentUploadNumber
- the currentUploadNumber to set
-
getResourcesForLastTimestamp
public List<Long> getResourcesForLastTimestamp()
- Returns:
- the resourcesForLastTimestamp
-
setResourcesForLastTimestamp
public void setResourcesForLastTimestamp(Collection<Long> resourcesForLastTimestamp)
- Parameters:
resourcesForLastTimestamp
- the resourcesForLastTimestamp to set
-
getResourceCounts
public List<Integer> getResourceCounts()
Get an immutable list of the resource counts for each file processed so far- Returns:
-
setResourceCounts
public void setResourceCounts(Collection<Integer> resourceCounts)
-
getResourceType
public String getResourceType()
- Returns:
- the resourceType
-
setResourceType
public void setResourceType(String resourceType)
- Parameters:
resourceType
- the resourceType to set
-
-