java - Testing Conflation of data in Dequeue -
i have data structure implemented involves linkedblockingdequeue need test. suppose have 10 data inserted 1 end , other end retrieve values. these 2 threads run simultaneously. while inserting data possible particular "key" second update comes on key, if value corresponding data has not been retrieved, user should on retrieval new data.
i need test operation operating. can tell me how that?
Comments
Post a Comment