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

io.quarkiverse.reactive.messaging.nats.jetstream.client.JetstreamWorkerThread Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
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