Created
July 10, 2016 16:27
-
-
Save amitshekhariitbhu/b902649f2bdddb2b99799bdf313caad3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Priority levels | |
*/ | |
public enum Priority { | |
/** | |
* NOTE: DO NOT CHANGE ORDERING OF THOSE CONSTANTS UNDER ANY CIRCUMSTANCES. | |
* Doing so will make ordering incorrect. | |
*/ | |
/** | |
* Lowest priority level. Used for prefetches of data. | |
*/ | |
LOW, | |
/** | |
* Medium priority level. Used for warming of data that might soon get visible. | |
*/ | |
MEDIUM, | |
/** | |
* Highest priority level. Used for data that are currently visible on screen. | |
*/ | |
HIGH, | |
/** | |
* Highest priority level. Used for data that are required instantly(mainly for emergency). | |
*/ | |
IMMEDIATE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment