java.util.EventListener@Private
public final class ResponseReceivedMetricUpdater
extends com.microsoft.azure.storage.StorageEvent<com.microsoft.azure.storage.ResponseReceivedEvent>
| Modifier and Type | Method | Description |
|---|---|---|
void |
eventOccurred(com.microsoft.azure.storage.ResponseReceivedEvent eventArg) |
Handle the response-received event from Azure SDK.
|
static void |
hook(com.microsoft.azure.storage.OperationContext operationContext,
AzureFileSystemInstrumentation instrumentation,
BandwidthGaugeUpdater blockUploadGaugeUpdater) |
Hooks a new listener to the given operationContext that will update the
metrics for the WASB file system appropriately in response to
ResponseReceived events.
|
public static void hook(com.microsoft.azure.storage.OperationContext operationContext,
AzureFileSystemInstrumentation instrumentation,
BandwidthGaugeUpdater blockUploadGaugeUpdater)
operationContext - The operationContext to hook.instrumentation - The metrics source to update.blockUploadGaugeUpdater - The blockUploadGaugeUpdater to use.public void eventOccurred(com.microsoft.azure.storage.ResponseReceivedEvent eventArg)
eventOccurred in class com.microsoft.azure.storage.StorageEvent<com.microsoft.azure.storage.ResponseReceivedEvent>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.