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

com.addc.commons.queue.PersistingQueueReaderState Maven / Gradle / Ivy

Go to download

The addc-queues library supplies support for internal persistent queues using an optional DERBY database for storage.

The newest version!
package com.addc.commons.queue;

/**
 * The PersistingQueueReaderState contains the current state of the
 * PersistingQueueReader
 */
class PersistingQueueReaderState {
    public T currentPayload;
    public boolean shutdown;
    public boolean connectionLost;
    public Object shutdownLock;

    /**
     * Create a new PersistingQueueReaderState
     */
    public PersistingQueueReaderState() {
        shutdownLock= new Object();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy