io.quarkiverse.reactive.messaging.nats.jetstream.client.JetstreamWorkerThread Maven / Gradle / Ivy
package io.quarkiverse.reactive.messaging.nats.jetstream.client;
import java.util.concurrent.atomic.AtomicInteger;
public class JetstreamWorkerThread extends Thread {
private static final AtomicInteger threadCount = new AtomicInteger(0);
public JetstreamWorkerThread(Runnable task) {
super(task, "nats-jetstream-worker-" + threadCount.incrementAndGet());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy