projects
/
iotcloud.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a19fe6
)
add todo item
author
bdemsky
<bdemsky@uci.edu>
Mon, 1 Aug 2016 19:56:38 +0000
(12:56 -0700)
committer
bdemsky
<bdemsky@uci.edu>
Mon, 1 Aug 2016 19:56:38 +0000
(12:56 -0700)
src/java/iotcloud/Table.java
patch
|
blob
|
history
diff --git
a/src/java/iotcloud/Table.java
b/src/java/iotcloud/Table.java
index bbcfe6a5e0fb759cf01366c269009187af9e3e0c..7c798ad7679c63f1dbfa2859973faf95129dcd40 100644
(file)
--- 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();