A customized java API for perfSONAR toolkit