@Test public void assertEnableSharding() { shardingOperateAPI.enable("test_job", "0"); verify(regCenter).remove("/test_job/sharding/0/disabled"); }
@Override public void enable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, false); }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void enable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, false); } }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void enable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, false); } ShardingOperateAPIImpl(final CoordinatorRegistryCenter regCenter); }
ShardingOperateAPIImpl implements ShardingOperateAPI { @Override public void enable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, false); } 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 enable(final String jobName, final String item) { disableOrEnableJobs(jobName, item, false); } ShardingOperateAPIImpl(final CoordinatorRegistryCenter regCenter); @Override void disable(final String jobName, final String item); @Override void enable(final String jobName, final String item);  }