From 08ca4a7594446c3bef6967330b55ec008639b922 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 1 Aug 2016 12:56:38 -0700 Subject: [PATCH] add todo item --- src/java/iotcloud/Table.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/iotcloud/Table.java b/src/java/iotcloud/Table.java index bbcfe6a..7c798ad 100644 --- a/src/java/iotcloud/Table.java +++ b/src/java/iotcloud/Table.java @@ -128,6 +128,10 @@ final public class Table { } if (!rejectedmessagelist.isEmpty()) { + /* TODO: We should avoid generating a rejected message entry if + * there is already a sufficient entry in the queue (e.g., + * equalsto value of true and same sequence number). */ + long old_seqn=rejectedmessagelist.firstElement(); if (rejectedmessagelist.size() > REJECTED_THRESHOLD) { long new_seqn=rejectedmessagelist.lastElement(); -- 2.34.1