* JAVA-24659 | moving runflag inside consumer and producer. it makes no sense to have it inside * JAVA-24659 | using atomic integer for sequence, and moving thread.sleep() in the same place * JAVA-24659 | enhanced logic for simplicity
* JAVA-24659 | moving runflag inside consumer and producer. it makes no sense to have it inside * JAVA-24659 | using atomic integer for sequence, and moving thread.sleep() in the same place * JAVA-24659 | enhanced logic for simplicity