calculatePriority

fun calculatePriority(type: CandidateType, localPreference: Long, componentId: Long): Int