@InterfaceAudience.Private public interface NamedQueueService
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearNamedQueue()
Cleans up queues maintained by services.
|
void |
consumeEventFromDisruptor(NamedQueuePayload namedQueuePayload)
This implementation is generic for consuming records from LMAX disruptor and inserts records to
EvictingQueue which is maintained by each ringbuffer provider.
|
NamedQueuePayload.NamedQueueEvent |
getEvent()
Retrieve event type for NamedQueueService implementation.
|
NamedQueueGetResponse |
getNamedQueueRecords(NamedQueueGetRequest request)
Retrieve in memory queue records from ringbuffer
|
void |
persistAll()
Add all in memory queue records to system table.
|
NamedQueuePayload.NamedQueueEvent getEvent()
NamedQueuePayload.NamedQueueEventvoid consumeEventFromDisruptor(NamedQueuePayload namedQueuePayload)
namedQueuePayload - namedQueue payload from disruptor ring bufferboolean clearNamedQueue()
NamedQueueGetResponse getNamedQueueRecords(NamedQueueGetRequest request)
request - namedQueue request with event typevoid persistAll()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.