Package org.mycore.util.concurrent
Interface MCRPrioritizable
- All Superinterfaces:
Comparable<MCRPrioritizable>
- All Known Implementing Classes:
MCRPrioritySupplier
Objects can implement this interface if they are capable of being prioritized.
- Author:
- Matthias Eichner
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
long
int
Returns the priority.
-
Method Details
-
getPriority
int getPriority()Returns the priority. -
getCreated
long getCreated() -
compareTo
- Specified by:
compareTo
in interfaceComparable<MCRPrioritizable>
-