com.addc.commons.queue.PersistingQueueReaderState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-queues Show documentation
Show all versions of addc-queues Show documentation
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