Change Password

Input error
Input error
Input error
Submit

Change Nickname

Current Nickname:
Submit
v4.0

Task

Runtime Task

  • The Connection object provides method top to show runtime task

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Show all runtime tasks
    ret = conn.top()
    print(ret.toJSON()) 
    
  • The Connection object provides method kill to stop runtime task

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Stop runtime task by specifying task id
    ret = conn.kill(ULTIPA_REQUEST.Kill(id='123'))
    # Stop all runtime tasks
    ret = conn.kill(ULTIPA_REQUEST.Kill(all=True))
    print(ret.toJSON())
    

Algorithm Task

  • The Connection object provides method showTask to show algorithm task

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Show algorithm runtime task by specifying task id
    ret = conn.showTask(ULTIPA_REQUEST.ShowTask(id=123))
    # Show algorithm runtime task by specifying task name
    ret = conn.showTask(ULTIPA_REQUEST.ShowTask(name="test"))
    # Show algorithm runtime task by specifying task status
    ret = conn.showTask(ULTIPA_REQUEST.ShowTask(status="pending"))
    # Show algorithm runtime task by specifying task name and status
    ret = conn.showTask(ULTIPA_REQUEST.ShowTask(name="test", status="pending"))
    print(ret.toJSON()) 
    
  • The Connection object provides method stopTask to stop algorithm task

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Stop algorithm task by specifying task id
    ret = conn.stopTask(ULTIPA_REQUEST.StopTask(id="123"))
    # Stop all algorithm tasks
    ret = conn.stopTask(ULTIPA_REQUEST.StopTask(all=True))
    print(ret.toJSON())
    
  • The Connection object provides method clearTask to clear algorithm task from the task list

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Clear algorithm task by specifying task id
    ret = conn.clearTask(ULTIPA_REQUEST.ClearTask(id="123"))
    # Clear all algorithm tasks
    ret = conn.clearTask(ULTIPA_REQUEST.ClearTask(all=True))
    print(ret.toJSON())
    

System Statistics

  • The Connection object provides method stats to show system statistical information

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    ret = conn.stats()
    print(ret.toJSON())
    
Please complete the following information to download this book
*
公司名称不能为空
*
公司邮箱必须填写
*
你的名字必须填写
*
你的电话必须填写
*
你的电话必须填写