commit some nio class method demo