@Test public void testIsReadyToAcceptJobs() throws Exception { replayAll(); assertTrue(jobProducer.isReadyToAcceptJobs("any operation")); }
@Override public boolean isReadyToAcceptJobs(String operation) throws ServiceRegistryException { return true; }
AbstractJobProducer implements JobProducer { @Override public boolean isReadyToAcceptJobs(String operation) throws ServiceRegistryException { return true; } }
AbstractJobProducer implements JobProducer { @Override public boolean isReadyToAcceptJobs(String operation) throws ServiceRegistryException { return true; } AbstractJobProducer(String jobType); }
AbstractJobProducer implements JobProducer { @Override public boolean isReadyToAcceptJobs(String operation) throws ServiceRegistryException { return true; } AbstractJobProducer(String jobType); void activate(ComponentContext cc); @Override String getJobType(); @Override long countJobs(Status status); @Override void acceptJob(final Job job); @Override boolean isReadyToAcceptJobs(String operation); @Override boolean isReadyToAccept(Job job); Incidents incident(); }
AbstractJobProducer implements JobProducer { @Override public boolean isReadyToAcceptJobs(String operation) throws ServiceRegistryException { return true; } AbstractJobProducer(String jobType); void activate(ComponentContext cc); @Override String getJobType(); @Override long countJobs(Status status); @Override void acceptJob(final Job job); @Override boolean isReadyToAcceptJobs(String operation); @Override boolean isReadyToAccept(Job job); Incidents incident(); static final boolean DEFAULT_ACCEPT_JOB_LOADS_EXCEEDING; static final String ACCEPT_JOB_LOADS_EXCEEDING_PROPERTY; }