Here you can find the source of getRandomRequestId(Integer serviceId)
private static Long getRandomRequestId(Integer serviceId)
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { private static Integer[] response_code = new Integer[] { 100, 200, 300, 400, 500 }; private static Long getRandomRequestId(Integer serviceId) { Random r = new Random(); int index = r.nextInt(response_code.length); return 1L; }/* ww w.j a v a 2 s. com*/ }