@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface AbfsThrottlingIntercept
| 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.
|
void updateMetrics(AbfsRestOperationType operationType, AbfsHttpOperation abfsHttpOperation)
operationType - Only applicable for read and write operations.abfsHttpOperation - Used for status code and data transferred.void sendingRequest(AbfsRestOperationType operationType, AbfsCounters abfsCounters)
operationType - Only applicable for read and write operations.abfsCounters - Used for counters.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.