Skip to content
Prev Previous commit
Next Next commit
chore: add session replacement handler for multiplexed session.
  • Loading branch information
arpan14 committed Mar 26, 2024
commit 3166fb976ca6b58e59d841dbe19274b28dd1ac88
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,15 @@ class MultiplexedSessionReplacementHandler
@Override
public MultiplexedSessionFuture replaceSession(
SessionNotFoundException e, MultiplexedSessionFuture session) {
// TODO arpanmishra add this handling
return null;
/**
* For multiplexed sessions, we would never obtain a {@link SessionNotFoundException}. Hence,
* this method will ideally never be invoked.
*/
logger.log(
Level.WARNING,
String.format(
"Replace session invoked for multiplexed " + "session => %s", session.getName()));
return session;
}
}

Expand Down