Package com.github.ambry.router
Class GetBlobResult
- java.lang.Object
-
- com.github.ambry.router.GetBlobResult
-
public class GetBlobResult extends java.lang.Object
Represents the result of a getBlob operation.
-
-
Constructor Summary
Constructors Constructor Description GetBlobResult(BlobInfo blobInfo, ReadableStreamChannel blobDataChannel)
Construct aGetBlobResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadableStreamChannel
getBlobDataChannel()
BlobInfo
getBlobInfo()
-
-
-
Constructor Detail
-
GetBlobResult
public GetBlobResult(BlobInfo blobInfo, ReadableStreamChannel blobDataChannel)
Construct aGetBlobResult
.- Parameters:
blobInfo
- theBlobInfo
for the blob, ornull
.blobDataChannel
- theReadableStreamChannel
containing the blob data, ornull
.
-
-
Method Detail
-
getBlobInfo
public BlobInfo getBlobInfo()
- Returns:
- the
BlobInfo
for the getBlob operation, ornull
if there is none.
-
getBlobDataChannel
public ReadableStreamChannel getBlobDataChannel()
- Returns:
- the blob data
ReadableStreamChannel
for the getBlob operation, ornull
if there is none.
-
-