@InterfaceAudience.Private public final class ErrorMetricUpdater extends com.microsoft.azure.storage.StorageEvent<com.microsoft.azure.storage.ResponseReceivedEvent>
| Modifier and Type | Method and Description |
|---|---|
void |
eventOccurred(com.microsoft.azure.storage.ResponseReceivedEvent eventArg) |
static void |
hook(com.microsoft.azure.storage.OperationContext operationContext,
AzureFileSystemInstrumentation instrumentation)
Hooks a new listener to the given operationContext that will update the
error metrics for the WASB file system appropriately in response to
ResponseReceived events.
|
public static void hook(com.microsoft.azure.storage.OperationContext operationContext,
AzureFileSystemInstrumentation instrumentation)
operationContext - The operationContext to hook.instrumentation - The metrics source to update.public void eventOccurred(com.microsoft.azure.storage.ResponseReceivedEvent eventArg)
eventOccurred in class com.microsoft.azure.storage.StorageEvent<com.microsoft.azure.storage.ResponseReceivedEvent>Copyright © 2018 CERN. All Rights Reserved.