dev.responsive.kafka.api.async.internals.queues.SchedulingQueue Maven / Gradle / Ivy
The newest version!
package dev.responsive.kafka.api.async.internals.queues;
import dev.responsive.kafka.api.async.internals.events.AsyncEvent;
public interface SchedulingQueue {
boolean isEmpty();
int totalEnqueuedEvents();
int longestQueueSize();
void unblockKey(KIn key);
boolean hasProcessableRecord();
AsyncEvent poll();
void offer(AsyncEvent event);
boolean keyQueueIsFull(KIn key);
}