public class LongPollingEventsManager extends Object
Constructor and Description |
---|
LongPollingEventsManager(CachedBoxClient boxClient,
Map<String,Object> httpParams,
ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
void |
poll(long streamPosition,
String streamType,
int limit,
EventCallback callback) |
void |
stopPolling() |
public LongPollingEventsManager(CachedBoxClient boxClient, Map<String,Object> httpParams, ExecutorService executorService)
public void poll(long streamPosition, String streamType, int limit, EventCallback callback) throws com.box.boxjavalibv2.exceptions.BoxServerException, com.box.boxjavalibv2.exceptions.AuthFatalFailureException, com.box.restclientv2.exceptions.BoxRestException
com.box.boxjavalibv2.exceptions.BoxServerException
com.box.boxjavalibv2.exceptions.AuthFatalFailureException
com.box.restclientv2.exceptions.BoxRestException
Apache Camel