com.addc.commons.queue.IMbQueueStats 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 IMbQueueStats interface defines the MBean contract for MBeans showing statistics
* for a {@link PersistingQueue}
*
*/
public interface IMbQueueStats {
/**
* Get the number of items put to the queue
*
* @return The number of items put to the queue
*/
long getItemsCreated();
/**
* Get the number of items dropped from the queue
*
* @return The number of elements dropped from the queue
*/
long getItemsDropped();
/**
* Get the number of items read from persistence
*
* @return The number of items read from persistence
*/
long getItemsReadFromPersistence();
/**
* Get the number of items written to persistence
*
* @return The number of items written to persistence
*/
long getItemsWrittenToPersistence();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy