All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.responsive.kafka.api.async.internals.queues.SchedulingQueue Maven / Gradle / Ivy

There is a newer version: 0.28.0
Show 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy