public class HoodieLockMetrics extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCK_ACQUIRE_ATTEMPTS_COUNTER_NAME |
static String |
LOCK_ACQUIRE_DURATION_TIMER_NAME |
static String |
LOCK_ACQUIRE_FAILURES_COUNTER_NAME |
static String |
LOCK_ACQUIRE_SUCCESS_COUNTER_NAME |
static String |
LOCK_REQUEST_LATENCY_TIMER_NAME |
| Constructor and Description |
|---|
HoodieLockMetrics(HoodieWriteConfig writeConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
startLockApiTimerContext() |
void |
updateLockAcquiredMetric() |
void |
updateLockHeldTimerMetrics() |
void |
updateLockNotAcquiredMetric() |
public static final String LOCK_ACQUIRE_ATTEMPTS_COUNTER_NAME
public static final String LOCK_ACQUIRE_SUCCESS_COUNTER_NAME
public static final String LOCK_ACQUIRE_FAILURES_COUNTER_NAME
public static final String LOCK_ACQUIRE_DURATION_TIMER_NAME
public static final String LOCK_REQUEST_LATENCY_TIMER_NAME
public HoodieLockMetrics(HoodieWriteConfig writeConfig)
Copyright © 2023 The Apache Software Foundation. All rights reserved.