Class BookKeeperClientStatsImpl
- java.lang.Object
-
- org.apache.bookkeeper.client.impl.BookKeeperClientStatsImpl
-
- All Implemented Interfaces:
BookKeeperClientStats
@StatsDoc(name="bookkeeper_client", category="client", help="BookKeeper client stats") public class BookKeeperClientStatsImpl extends java.lang.Object implements BookKeeperClientStats
The default implementation ofBookKeeperClientStats
.
-
-
Field Summary
-
Fields inherited from interface org.apache.bookkeeper.client.BookKeeperClientStats
ACTIVE_NON_TLS_CHANNEL_COUNTER, ACTIVE_TLS_CHANNEL_COUNTER, ADD_OP, ADD_OP_OUTSTANDING, ADD_OP_UR, BOOKIE_LABEL, CATEGORY_CLIENT, CHANNEL_ADD_OP, CHANNEL_FORCE_OP, CHANNEL_READ_LAC_OP, CHANNEL_READ_OP, CHANNEL_SCOPE, CHANNEL_START_TLS_OP, CHANNEL_TIMEOUT_ADD, CHANNEL_TIMEOUT_FORCE, CHANNEL_TIMEOUT_READ, CHANNEL_TIMEOUT_READ_LAC, CHANNEL_TIMEOUT_START_TLS_OP, CHANNEL_TIMEOUT_WRITE_LAC, CHANNEL_WRITE_LAC_OP, CLIENT_CHANNEL_WRITE_WAIT, CLIENT_CONNECT_TIMER, CLIENT_SCOPE, CREATE_OP, DELETE_OP, ENSEMBLE_CHANGES, FAILED_CONNECTION_COUNTER, FAILED_TLS_HANDSHAKE_COUNTER, FORCE_OP, GET_BOOKIE_INFO_OP, GET_LIST_OF_ENTRIES_OF_LEDGER_OP, LAC_UPDATE_HITS, LAC_UPDATE_MISSES, LEDGER_ENSEMBLE_BOOKIE_DISTRIBUTION, LEDGER_RECOVER_ADD_ENTRIES, LEDGER_RECOVER_READ_ENTRIES, NETTY_EXCEPTION_CNT, NETTY_OPS, NUM_WRITABLE_BOOKIES_IN_DEFAULT_FAULTDOMAIN, NUM_WRITABLE_BOOKIES_IN_DEFAULT_RACK, OPEN_OP, PENDING_ADDS, READ_LAC_OP, READ_LAST_CONFIRMED_AND_ENTRY, READ_LAST_CONFIRMED_AND_ENTRY_RESPONSE, READ_OP, READ_OP_DM, READ_OP_OUTSTANDING, READ_REQUESTS_REORDERED, RECOVER_OP, SPECULATIVE_READ_COUNT, TIMEOUT_GET_BOOKIE_INFO, TIMEOUT_GET_LIST_OF_ENTRIES_OF_LEDGER, WRITE_DELAYED_DUE_TO_NOT_ENOUGH_FAULT_DOMAINS, WRITE_DELAYED_DUE_TO_NOT_ENOUGH_FAULT_DOMAINS_LATENCY, WRITE_LAC_OP, WRITE_TIMED_OUT_DUE_TO_NOT_ENOUGH_FAULT_DOMAINS
-
-
Constructor Summary
Constructors Constructor Description BookKeeperClientStatsImpl(StatsLogger stats)
-
Method Summary
-
-
-
Constructor Detail
-
BookKeeperClientStatsImpl
public BookKeeperClientStatsImpl(StatsLogger stats)
-
-
Method Detail
-
getCreateOpLogger
public OpStatsLogger getCreateOpLogger()
- Specified by:
getCreateOpLogger
in interfaceBookKeeperClientStats
-
getOpenOpLogger
public OpStatsLogger getOpenOpLogger()
- Specified by:
getOpenOpLogger
in interfaceBookKeeperClientStats
-
getDeleteOpLogger
public OpStatsLogger getDeleteOpLogger()
- Specified by:
getDeleteOpLogger
in interfaceBookKeeperClientStats
-
getRecoverOpLogger
public OpStatsLogger getRecoverOpLogger()
- Specified by:
getRecoverOpLogger
in interfaceBookKeeperClientStats
-
getReadOpLogger
public OpStatsLogger getReadOpLogger()
- Specified by:
getReadOpLogger
in interfaceBookKeeperClientStats
-
getReadLacAndEntryOpLogger
public OpStatsLogger getReadLacAndEntryOpLogger()
- Specified by:
getReadLacAndEntryOpLogger
in interfaceBookKeeperClientStats
-
getReadLacAndEntryRespLogger
public OpStatsLogger getReadLacAndEntryRespLogger()
- Specified by:
getReadLacAndEntryRespLogger
in interfaceBookKeeperClientStats
-
getAddOpLogger
public OpStatsLogger getAddOpLogger()
- Specified by:
getAddOpLogger
in interfaceBookKeeperClientStats
-
getForceOpLogger
public OpStatsLogger getForceOpLogger()
- Specified by:
getForceOpLogger
in interfaceBookKeeperClientStats
-
getWriteLacOpLogger
public OpStatsLogger getWriteLacOpLogger()
- Specified by:
getWriteLacOpLogger
in interfaceBookKeeperClientStats
-
getReadLacOpLogger
public OpStatsLogger getReadLacOpLogger()
- Specified by:
getReadLacOpLogger
in interfaceBookKeeperClientStats
-
getRecoverAddCountLogger
public OpStatsLogger getRecoverAddCountLogger()
- Specified by:
getRecoverAddCountLogger
in interfaceBookKeeperClientStats
-
getRecoverReadCountLogger
public OpStatsLogger getRecoverReadCountLogger()
- Specified by:
getRecoverReadCountLogger
in interfaceBookKeeperClientStats
-
getReadOpDmCounter
public Counter getReadOpDmCounter()
- Specified by:
getReadOpDmCounter
in interfaceBookKeeperClientStats
-
getAddOpUrCounter
public Counter getAddOpUrCounter()
- Specified by:
getAddOpUrCounter
in interfaceBookKeeperClientStats
-
getSpeculativeReadCounter
public Counter getSpeculativeReadCounter()
- Specified by:
getSpeculativeReadCounter
in interfaceBookKeeperClientStats
-
getEnsembleChangeCounter
public Counter getEnsembleChangeCounter()
- Specified by:
getEnsembleChangeCounter
in interfaceBookKeeperClientStats
-
getLacUpdateHitsCounter
public Counter getLacUpdateHitsCounter()
- Specified by:
getLacUpdateHitsCounter
in interfaceBookKeeperClientStats
-
getLacUpdateMissesCounter
public Counter getLacUpdateMissesCounter()
- Specified by:
getLacUpdateMissesCounter
in interfaceBookKeeperClientStats
-
getClientChannelWriteWaitLogger
public OpStatsLogger getClientChannelWriteWaitLogger()
- Specified by:
getClientChannelWriteWaitLogger
in interfaceBookKeeperClientStats
-
getEnsembleBookieDistributionCounter
public Counter getEnsembleBookieDistributionCounter(java.lang.String bookie)
- Specified by:
getEnsembleBookieDistributionCounter
in interfaceBookKeeperClientStats
-
getWriteDelayedDueToNotEnoughFaultDomainsLatency
public OpStatsLogger getWriteDelayedDueToNotEnoughFaultDomainsLatency()
- Specified by:
getWriteDelayedDueToNotEnoughFaultDomainsLatency
in interfaceBookKeeperClientStats
-
getWriteDelayedDueToNotEnoughFaultDomains
public Counter getWriteDelayedDueToNotEnoughFaultDomains()
- Specified by:
getWriteDelayedDueToNotEnoughFaultDomains
in interfaceBookKeeperClientStats
-
getWriteTimedOutDueToNotEnoughFaultDomains
public Counter getWriteTimedOutDueToNotEnoughFaultDomains()
- Specified by:
getWriteTimedOutDueToNotEnoughFaultDomains
in interfaceBookKeeperClientStats
-
registerPendingAddsGauge
public void registerPendingAddsGauge(Gauge<java.lang.Integer> gauge)
- Specified by:
registerPendingAddsGauge
in interfaceBookKeeperClientStats
-
-