Class SlowLogPersistentService
java.lang.Object
org.apache.hadoop.hbase.namequeues.SlowLogPersistentService
Persistent service provider for Slow/LargeLog events
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configurationprivate static final intprivate static final ReentrantLockprivate static final org.slf4j.Loggerprivate final Queue<org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload>private static final Stringprivate static final int
- 
Constructor SummaryConstructorsConstructorDescriptionSlowLogPersistentService(org.apache.hadoop.conf.Configuration configuration) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAllLogsToSysTable(Connection connection) Poll from queueForSysTable and insert 100 records in hbase:slowlog table in single batchvoidaddToQueueForSysTable(org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload slowLogPayload) 
- 
Field Details- 
LOG
- 
LOCK
- 
SYS_TABLE_QUEUE_SIZE- See Also:
 
- 
DEFAULT_SYS_TABLE_QUEUE_SIZE- See Also:
 
- 
SYSTABLE_PUT_BATCH_SIZE- See Also:
 
- 
queueForSysTableprivate final Queue<org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload> queueForSysTable
- 
configuration
 
- 
- 
Constructor Details- 
SlowLogPersistentService
 
- 
- 
Method Details- 
addToQueueForSysTablepublic void addToQueueForSysTable(org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload slowLogPayload) 
- 
addAllLogsToSysTablePoll from queueForSysTable and insert 100 records in hbase:slowlog table in single batch
 
-