Class BlobTransferPartitionMetadata
- java.lang.Object
-
- com.linkedin.davinci.blobtransfer.BlobTransferPartitionMetadata
-
public class BlobTransferPartitionMetadata extends java.lang.ObjectThis class is the metadata of a partition in the blob transfer client
-
-
Field Summary
Fields Modifier and Type Field Description java.nio.ByteBufferoffsetRecordintpartitionIdjava.nio.ByteBufferstoreVersionStatejava.lang.StringtopicName
-
Constructor Summary
Constructors Constructor Description BlobTransferPartitionMetadata()BlobTransferPartitionMetadata(java.lang.String topicName, int partitionId, java.nio.ByteBuffer offsetRecord, java.nio.ByteBuffer storeVersionState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffergetOffsetRecord()intgetPartitionId()java.nio.ByteBuffergetStoreVersionState()java.lang.StringgetTopicName()voidsetOffsetRecord(java.nio.ByteBuffer offsetRecord)voidsetPartitionId(int partitionId)voidsetStoreVersionState(java.nio.ByteBuffer storeVersionState)voidsetTopicName(java.lang.String topicName)java.lang.StringtoString()
-
-
-
Method Detail
-
getTopicName
public java.lang.String getTopicName()
-
setTopicName
public void setTopicName(java.lang.String topicName)
-
getPartitionId
public int getPartitionId()
-
setPartitionId
public void setPartitionId(int partitionId)
-
getOffsetRecord
public java.nio.ByteBuffer getOffsetRecord()
-
setOffsetRecord
public void setOffsetRecord(java.nio.ByteBuffer offsetRecord)
-
setStoreVersionState
public void setStoreVersionState(java.nio.ByteBuffer storeVersionState)
-
getStoreVersionState
public java.nio.ByteBuffer getStoreVersionState()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-