refactor to new tuan4j-distributed api