com.github.ltsopensource.jobclient
Class RetryJobClient

java.lang.Object
  extended by com.github.ltsopensource.core.cluster.AbstractJobNode<T,Context>
      extended by com.github.ltsopensource.core.cluster.AbstractClientNode<JobClientNode,JobClientAppContext>
          extended by com.github.ltsopensource.jobclient.JobClient<JobClientNode,JobClientAppContext>
              extended by com.github.ltsopensource.jobclient.RetryJobClient
All Implemented Interfaces:
com.github.ltsopensource.core.cluster.JobNode

public class RetryJobClient
extends JobClient<JobClientNode,JobClientAppContext>

Author:
Robert HG (254963746@qq.com) on 8/14/14. 重试 客户端, 如果 没有可用的JobTracker, 那么存文件, 定时重试

Constructor Summary
RetryJobClient()
           
 
Method Summary
 Response submitJob(com.github.ltsopensource.core.domain.Job job)
           
 Response submitJob(List<com.github.ltsopensource.core.domain.Job> jobs)
           
 
Methods inherited from class com.github.ltsopensource.jobclient.JobClient
cancelJob, setJobCompletedHandler
 
Methods inherited from class com.github.ltsopensource.core.cluster.AbstractClientNode
isServerEnable, setNodeGroup
 
Methods inherited from class com.github.ltsopensource.core.cluster.AbstractJobNode
addConfig, addMasterChangeListener, addNodeChangeListener, destroy, setBindIp, setClusterName, setDataPath, setIdentity, setInvokeTimeoutMillis, setRegistryAddress, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryJobClient

public RetryJobClient()
Method Detail

submitJob

public Response submitJob(com.github.ltsopensource.core.domain.Job job)
Overrides:
submitJob in class JobClient<JobClientNode,JobClientAppContext>

submitJob

public Response submitJob(List<com.github.ltsopensource.core.domain.Job> jobs)
Overrides:
submitJob in class JobClient<JobClientNode,JobClientAppContext>


Copyright © 2017. All rights reserved.