com.github.ltsopensource.tasktracker.cmd
Class JobTerminateCmd

java.lang.Object
  extended by com.github.ltsopensource.tasktracker.cmd.JobTerminateCmd
All Implemented Interfaces:
com.github.ltsopensource.cmd.HttpCmdProc

public class JobTerminateCmd
extends Object
implements com.github.ltsopensource.cmd.HttpCmdProc

用于中断某个Job

Author:
Robert HG (254963746@qq.com) on 3/13/16.

Constructor Summary
JobTerminateCmd(TaskTrackerAppContext appContext)
           
 
Method Summary
 com.github.ltsopensource.cmd.HttpCmdResponse execute(com.github.ltsopensource.cmd.HttpCmdRequest request)
           
 String getCommand()
           
 String nodeIdentity()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobTerminateCmd

public JobTerminateCmd(TaskTrackerAppContext appContext)
Method Detail

nodeIdentity

public String nodeIdentity()
Specified by:
nodeIdentity in interface com.github.ltsopensource.cmd.HttpCmdProc

getCommand

public String getCommand()
Specified by:
getCommand in interface com.github.ltsopensource.cmd.HttpCmdProc

execute

public com.github.ltsopensource.cmd.HttpCmdResponse execute(com.github.ltsopensource.cmd.HttpCmdRequest request)
                                                     throws Exception
Specified by:
execute in interface com.github.ltsopensource.cmd.HttpCmdProc
Throws:
Exception


Copyright © 2017. All rights reserved.