if (attributeNames != null && !attributeNames.isEmpty()) {
for (String attributeName : attributeNames) {
String oldKey = RedisSessionKeys.getAttrKey(this.id, attributeName);
String newKey = RedisSessionKeys.getAttrKey(id, attributeName);
transaction.rename(oldKey, newKey);
}
transaction.rename(oldAttrsKey, newAttrsKey);
} else {
transaction.del(oldAttrsKey);