public class SpanBlobContext extends Object implements BlobContext
BlobContext associated with BlobWriter and uses Span
to save blob key produced to be used again for reading| Constructor and Description |
|---|
SpanBlobContext(io.opentracing.Span span,
String serviceName,
String operationName)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOperationName() |
String |
getServiceName() |
void |
onBlobKeyCreate(String blobKey,
BlobType blobType)
This will be used to add the key produced inside the span
for it to be used during the time of reading the blob through the span
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationId, makeKeypublic String getOperationName()
getOperationName in interface BlobContextpublic String getServiceName()
getServiceName in interface BlobContextpublic void onBlobKeyCreate(String blobKey, BlobType blobType)
onBlobKeyCreate in interface BlobContextblobKey - created from BlobContext.makeKey(BlobType)blobType - value of BlobTypeCopyright © 2019. All rights reserved.