AbfsThrottlingInterceptpublic final class AbfsClientThrottlingIntercept extends java.lang.Object implements AbfsThrottlingIntercept
| Constructor | Description |
|---|---|
AbfsClientThrottlingIntercept(java.lang.String accountName,
AbfsConfiguration abfsConfiguration) |
| Modifier and Type | Method | 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(java.lang.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–2025 Apache Software Foundation. All rights reserved.