Пример #1
0
 /**
  * Put task in processing queue. During putting the task algorythm analyzes the priority of
  * insertion and evaluates index of new item in queue.
  *
  * @param record record to put in queue.
  */
 @SuppressWarnings("unchecked")
 private void putRecordInQueue(ChannelRecord record) {
   queue.add(record);
 }
Пример #2
0
 public void clear() {
   if (this.fifo != null) {
     fifo.clear();
   }
 }