org.kuali.rice.ksb.messaging.threadpool
Class PriorityBlockingQueuePersistedMessageComparator
java.lang.Object
org.kuali.rice.ksb.messaging.threadpool.PriorityBlockingQueuePersistedMessageComparator
- All Implemented Interfaces:
- Comparator
public class PriorityBlockingQueuePersistedMessageComparator
- extends Object
- implements Comparator
A comparator to put into the PriorityBlockingQueue
used in the KSBThreadPoolImpl
.
Determines execution order by priority and create date.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PriorityBlockingQueuePersistedMessageComparator
public PriorityBlockingQueuePersistedMessageComparator()
compare
public int compare(Object arg0,
Object arg1)
- Specified by:
compare
in interface Comparator
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.