|
|
|
@ -263,7 +263,7 @@ public class RedissonSession extends StandardSession {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
m.fastPut(name, value);
|
|
|
|
|
if (readMode == ReadMode.MEMORY && this.broadcastSessionUpdates || this.broadcastSessionEvents) {
|
|
|
|
|
if (readMode == ReadMode.REDIS || this.broadcastSessionUpdates) {
|
|
|
|
|
try {
|
|
|
|
|
Encoder encoder = m.getCodec().getMapValueEncoder();
|
|
|
|
|
topic.publish(new AttributeUpdateMessage(redissonManager.getNodeId(), getId(), name, value, encoder));
|
|
|
|
@ -336,11 +336,6 @@ public class RedissonSession extends StandardSession {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void superSetAttribute(String name, Object value, boolean notify) {
|
|
|
|
|
super.setAttribute(name, value, notify);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void setAttribute(String name, Object value, boolean notify) {
|
|
|
|
|
super.setAttribute(name, value, notify);
|
|
|
|
|