command type refactoring
split expire info and type for preparing flyweight, dump/restore refactoring, bugfix write cache mutex to recursive