@InterfaceAudience.Private public class SlowLogQueueService extends Object implements NamedQueueService
| Constructor and Description |
|---|
SlowLogQueueService(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearNamedQueue()
Cleans up queues maintained by services.
|
void |
consumeEventFromDisruptor(NamedQueuePayload namedQueuePayload)
This implementation is specific to slowLog event.
|
NamedQueuePayload.NamedQueueEvent |
getEvent()
Retrieve event type for NamedQueueService implementation.
|
NamedQueueGetResponse |
getNamedQueueRecords(NamedQueueGetRequest request)
Retrieve in memory queue records from ringbuffer
|
void |
persistAll()
Add all slowLog events to system table.
|
public SlowLogQueueService(org.apache.hadoop.conf.Configuration conf)
public NamedQueuePayload.NamedQueueEvent getEvent()
NamedQueueServicegetEvent in interface NamedQueueServiceNamedQueuePayload.NamedQueueEventpublic void consumeEventFromDisruptor(NamedQueuePayload namedQueuePayload)
consumeEventFromDisruptor in interface NamedQueueServicenamedQueuePayload - namedQueue payload from disruptor ring bufferpublic boolean clearNamedQueue()
NamedQueueServiceclearNamedQueue in interface NamedQueueServicepublic NamedQueueGetResponse getNamedQueueRecords(NamedQueueGetRequest request)
NamedQueueServicegetNamedQueueRecords in interface NamedQueueServicerequest - namedQueue request with event typepublic void persistAll()
persistAll in interface NamedQueueServiceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.