I added randomly Boolean parameter among cloudlet attributes for giving preference below is the code what else can do? What parameters can be added more to cloudlet attributes for giving them priority.
for(int i=0;i<cloudlets;i++){
Random r= new Random(); // for creating random length
Random priortyObj =new Random(); // for creating booleon priorty
cloudlet[i] = new Cloudlet(priorty_cloudlet.priortyObj.nextInt(2),
i, length +r.nextInt(2000),pesNumber,
fileSize, outputSize, utilizationModel,
utilizationModel, utilizationModel);
// setting the owner of these Cloudlets
cloudlet[i].setUserId(userId);`
list.add(cloudlet[i]);
}