Skip to content

Commit

Permalink
Fix for #248 [runtime] Add support for CacheMessage ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Mar 28, 2012
1 parent 75cb5f8 commit 4563082
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ protected final static class CachedMessage implements Serializable {
public final long currentTime;
public CachedMessage next;
public final boolean isTail;
public Object t;

public CachedMessage(boolean isTail) {
this.currentTime = 0L;
Expand Down Expand Up @@ -283,5 +284,14 @@ public boolean isTail() {
return isTail;
}

public CachedMessage setKey(Object t) {
this.t = t;
return this;
}

public Object getKey() {
return t;
}

}
}

0 comments on commit 4563082

Please sign in to comment.