String function ( @ RequestParam ( required = false ) Long arg0 , Model arg1 ) { if ( arg0 == null ) arg0 = 10000l ; arg1 . addAttribute ( "srini_string" , cpuResourceWaster . findPrimes ( arg0 ) ) ; return "srini_string" ; }
ask the system to find a large number of prime numbers . this is cpu intensive . good for triggering autoscaling . concode_field_sep Logger logger concode_elem_sep Cloud cloud concode_elem_sep CpuResourceWaster cpuResourceWaster concode_field_sep String environment concode_elem_sep String index concode_elem_sep void kill