Package com.levigo.jadice.server.core
Interface RequestEndpoint<C extends JobExecutionContext>
-
- Type Parameters:
C
- the concrete type ofJobExecutionContext
this implementation instantiates.
- All Known Implementing Classes:
JMSRequestEndpoint
public interface RequestEndpoint<C extends JobExecutionContext>
ARequestEndpoint
is an abstraction layer of a input channel through whichJob
s be submitted to jadice server.This is primarily JMS but other technologies could implement this interface as well.
- Since:
- jadice server 5.5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description C
poll()
Poll for a new incoming job request which is wrapped by aJobExecutionContext
-
-
-
Method Detail
-
poll
C poll() throws Exception
Poll for a new incoming job request which is wrapped by aJobExecutionContext
- Returns:
- A new
RequestEndpoint
ornull
if no new request is pending - Throws:
Exception
- in case of an error during polling
-
-