Java Application. Playing with Multi Threads and Pipelining data.