Class BlobTransferPartitionMetadata
- java.lang.Object
-
- com.linkedin.davinci.blobtransfer.BlobTransferPartitionMetadata
-
public class BlobTransferPartitionMetadata extends java.lang.Object
This class is the metadata of a partition in the blob transfer client
-
-
Field Summary
Fields Modifier and Type Field Description java.nio.ByteBuffer
offsetRecord
int
partitionId
java.nio.ByteBuffer
storeVersionState
java.lang.String
topicName
-
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.ByteBuffer
getOffsetRecord()
int
getPartitionId()
java.nio.ByteBuffer
getStoreVersionState()
java.lang.String
getTopicName()
void
setOffsetRecord(java.nio.ByteBuffer offsetRecord)
void
setPartitionId(int partitionId)
void
setStoreVersionState(java.nio.ByteBuffer storeVersionState)
void
setTopicName(java.lang.String topicName)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-