org.kuali.rice.ksb.messaging.threadpool
Class PriorityBlockingQueuePersistedMessageComparator

java.lang.Object
  extended by 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)

Constructor Summary
PriorityBlockingQueuePersistedMessageComparator()
           
 
Method Summary
 int compare(Object arg0, Object arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

PriorityBlockingQueuePersistedMessageComparator

public PriorityBlockingQueuePersistedMessageComparator()
Method Detail

compare

public int compare(Object arg0,
                   Object arg1)
Specified by:
compare in interface Comparator


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.