code: private void applyExpire(ExpireOperation operation) {
      context.setTimestamp(operation.timestamp());
      PrimaryBackupSession session = context.getSession(operation.session());
      if (session != null) {
        context.expireSession(session.sessionId().id());
      }
    }
docs: Applies an expire operation.