public final class AbfsClientThrottlingIntercept extends Object implements AbfsThrottlingIntercept
| Constructor and Description |
|---|
AbfsClientThrottlingIntercept(String accountName,
AbfsConfiguration abfsConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendingRequest(AbfsRestOperationType operationType,
AbfsCounters abfsCounters)
Called before the request is sent.
|
void |
updateMetrics(AbfsRestOperationType operationType,
AbfsHttpOperation abfsHttpOperation)
Updates the metrics for successful and failed read and write operations.
|
public AbfsClientThrottlingIntercept(String accountName, AbfsConfiguration abfsConfiguration)
public void updateMetrics(AbfsRestOperationType operationType, AbfsHttpOperation abfsHttpOperation)
updateMetrics in interface AbfsThrottlingInterceptoperationType - Only applicable for read and write operations.abfsHttpOperation - Used for status code and data transferred.public void sendingRequest(AbfsRestOperationType operationType, AbfsCounters abfsCounters)
sendingRequest in interface AbfsThrottlingInterceptoperationType - Only applicable for read and write operations.abfsCounters - Used for counters.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.