public static Commit<SetUser> local(SUser user) { SetUser res = new SetUser(); res.user = user; return ConsensusUtil.localCommit(res); }
public static Commit<DeleteUser> local(String userName) { DeleteUser res = new DeleteUser(); res.userName = userName; return ConsensusUtil.localCommit(res); }