=per #16542 Don't store sender in PersistentRepr

* I think it originated from channels, or some idea that
  the sender should be revived (as good as possible) during replay,
  but that is pretty useless
* It must still be in PersistentRepr for remote serialization
* I didn't want to change to the built in sender when looping to the
  journal because keeping it together with the message makes it easier
  to do batching (queueing)
* adjust tck
This commit is contained in:
Patrik Nordwall 2015-06-16 15:17:48 +02:00
parent b7297e2887
commit a2e5b3f8a4
8 changed files with 58 additions and 48 deletions

View file

@ -69,7 +69,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
boolean hasSender();
@ -81,7 +81,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
java.lang.String getSender();
@ -93,7 +93,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
com.google.protobuf.ByteString
@ -331,7 +331,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public boolean hasSender() {
@ -345,7 +345,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public java.lang.String getSender() {
@ -370,7 +370,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public com.google.protobuf.ByteString
@ -974,7 +974,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public boolean hasSender() {
@ -988,7 +988,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public java.lang.String getSender() {
@ -1010,7 +1010,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public com.google.protobuf.ByteString
@ -1034,7 +1034,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public Builder setSender(
@ -1055,7 +1055,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public Builder clearSender() {
@ -1072,7 +1072,7 @@ public final class MessageFormats {
* repeated string confirms = 7; // Removed in 2.4
* optional bool confirmable = 8; // Removed in 2.4
* optional DeliveredMessage confirmMessage = 9; // Removed in 2.4
* optional string confirmTarget = 10;
* optional string confirmTarget = 10; // Removed in 2.4
* </pre>
*/
public Builder setSenderBytes(