356357358359360361362363364365366
StatelessSession session = getSession(); final Cheese stilton = new Cheese( "stilton", 5 ); session.asyncExecute( stilton ); Thread.sleep( 300 ); assertEquals( "stilton", list.get( 0 ) );
371372373374375376377378379380381
StatelessSession session = getSession(); final Cheese stilton = new Cheese( "stilton", 5 ); session.asyncExecute( new Object[]{stilton} ); Thread.sleep( 100 ); assertEquals( "stilton", list.get( 0 ) );
345346347348349350351352353354355
359360361362363364365366367368369
349350351352353354355356357358359
363364365366367368369370371372373
374375376377378379380381382383384
146147148149150151152153154155156
StatelessSession session = getSession(); final Cheese stilton = new Cheese( "stilton", 5 ); session.asyncExecute( stilton ); Thread.sleep( 100 ); assertEquals( "stilton", list.get( 0 ) );
160161162163164165166167168169170