com.jrockit.mc.flightrecorder.util
Interface IPriorityProvider<Type>

Type Parameters:
Type -
All Known Implementing Classes:
OrderByEndTime, OrderByStartTime

public interface IPriorityProvider<Type>

Interface that provides a priority for an Iterator. Used by the PriorityIterator to select the Iterator with the highest priority.

Author:
Erik Gahlin

Method Summary
 long getPriority(Type object)
          Returns the priority for the the object.
 

Method Detail

getPriority

long getPriority(Type object)
Returns the priority for the the object. Low values are prioritized than low values.

Parameters:
object - the object to get the priority for.
Returns:
the priority


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.