@Test public void assertDisableWithJobNameAndServerIp() { jobOperateAPI.disable("test_job", "localhost"); verify(regCenter).persist("/test_job/servers/localhost", "DISABLED"); }
@Override public void disable(final String jobName, final String serverIp) { disableOrEnableJobs(jobName, serverIp, true); }
JobOperateAPIImpl implements JobOperateAPI { @Override public void disable(final String jobName, final String serverIp) { disableOrEnableJobs(jobName, serverIp, true); } }
JobOperateAPIImpl implements JobOperateAPI { @Override public void disable(final String jobName, final String serverIp) { disableOrEnableJobs(jobName, serverIp, true); } JobOperateAPIImpl(final CoordinatorRegistryCenter regCenter); }
JobOperateAPIImpl implements JobOperateAPI { @Override public void disable(final String jobName, final String serverIp) { disableOrEnableJobs(jobName, serverIp, true); } JobOperateAPIImpl(final CoordinatorRegistryCenter regCenter); @Override void trigger(final String jobName); @Override void disable(final String jobName, final String serverIp); @Override void enable(final String jobName, final String serverIp); @Override void shutdown(final String jobName, final String serverIp); @Override void remove(final String jobName, final String serverIp); }
JobOperateAPIImpl implements JobOperateAPI { @Override public void disable(final String jobName, final String serverIp) { disableOrEnableJobs(jobName, serverIp, true); } JobOperateAPIImpl(final CoordinatorRegistryCenter regCenter); @Override void trigger(final String jobName); @Override void disable(final String jobName, final String serverIp); @Override void enable(final String jobName, final String serverIp); @Override void shutdown(final String jobName, final String serverIp); @Override void remove(final String jobName, final String serverIp);  }