void function ( ) { MockFiller loc0 = new MockFiller ( ) ; ValueQueue < String > loc1 = new ValueQueue < String > ( 10 , 0.1f , 300 , 1 , SyncGenerationPolicy . ALL , loc0 ) ; Assert . assertEquals ( "srini_string" , loc1 . getNext ( "srini_string" ) ) ; Assert . assertEquals ( 1 , loc0 . getTop ( ) . num ) ; loc1 . shutdown ( ) ; }
verifies that queue is initially filled to `` numinitvalues '' concode_field_sep int num concode_elem_sep LinkedBlockingQueue<FillInfo> fillCalls concode_elem_sep String key concode_field_sep void testWarmUp concode_elem_sep void testgetAtMostPolicyLOW_WATERMARK concode_elem_sep void testRefill concode_elem_sep FillInfo getTop concode_elem_sep void fillQueueForKey concode_elem_sep void testgetAtMostPolicyALL concode_elem_sep void testgetAtMostPolicyATLEAST_ONE concode_elem_sep void testNoRefill concode_elem_sep void testDrain