public class MetastoreInstrumentationImpl extends Object implements MetastoreInstrumentation
MetastoreInstrumentation
which allows metastores to always return an instance
when requested.| Constructor and Description |
|---|
MetastoreInstrumentationImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
directoryMarkedAuthoritative()
A directory has been tagged as authoritative.
|
void |
entryAdded(long durationNanos)
An entry was added.
|
void |
initialized()
Initialized event.
|
void |
recordsDeleted(int count)
Records have been deleted.
|
void |
recordsRead(int count)
Records have been read.
|
void |
recordsWritten(int count)
records have been written (including tombstones).
|
void |
retrying()
S3Guard is retrying after a (retryable) failure.
|
void |
storeClosed()
Store has been closed.
|
void |
throttled()
Throttled request.
|
public void initialized()
MetastoreInstrumentationinitialized in interface MetastoreInstrumentationpublic void storeClosed()
MetastoreInstrumentationstoreClosed in interface MetastoreInstrumentationpublic void throttled()
MetastoreInstrumentationthrottled in interface MetastoreInstrumentationpublic void retrying()
MetastoreInstrumentationretrying in interface MetastoreInstrumentationpublic void recordsDeleted(int count)
MetastoreInstrumentationrecordsDeleted in interface MetastoreInstrumentationcount - the number of records deleted.public void recordsRead(int count)
MetastoreInstrumentationrecordsRead in interface MetastoreInstrumentationcount - the number of records readpublic void recordsWritten(int count)
MetastoreInstrumentationrecordsWritten in interface MetastoreInstrumentationcount - number of records written.public void directoryMarkedAuthoritative()
MetastoreInstrumentationdirectoryMarkedAuthoritative in interface MetastoreInstrumentationpublic void entryAdded(long durationNanos)
MetastoreInstrumentationentryAdded in interface MetastoreInstrumentationdurationNanos - time to addCopyright © 2008–2022 Apache Software Foundation. All rights reserved.