/*
* start thread which will write 2-nd sample entry
* to the space in timeout1 ms
*/
EntryWriter writer = new EntryWriter(sampleEntry2, timeout1, space);
writer.start();
// take any entry from the space using snapshot of null template
result = (SimpleEntry) space.take(space.snapshot(null), null,
timeout2 * 2);
curTime2 = System.currentTimeMillis();