@Test public void assertDisableSharding() { shardingOperateAPI.disable("test_job", "0"); verify(regCenter).persist("/test_job/sharding/0/disabled", ""); }
@Override public void disable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, true); }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void disable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, true); } }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void disable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, true); } ShardingOperateAPIImpl(final CoordinatorRegistryCenter regCenter); }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void disable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, true); } ShardingOperateAPIImpl(final CoordinatorRegistryCenter regCenter); @Override void disable(final String jobName, final String item); @Override void enable(final String jobName, final String item); }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void disable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, true); } ShardingOperateAPIImpl(final CoordinatorRegistryCenter regCenter); @Override void disable(final String jobName, final String item); @Override void enable(final String jobName, final String item);  }