BatchRequestService.ExecutorFactory

public static interface BatchRequestService.ExecutorFactory
Known Indirect Subclasses

Factory for obtaining ExecutorService instance.

Public Method Summary

abstract ExecutorService
getExecutor()
Returns ExecutorService to execute batch requests.
abstract ScheduledExecutorService
getScheduledExecutor()
Returns ScheduledExecutorService to flush batched requests periodically.

Public Methods

public abstract ExecutorService getExecutor ()

Returns ExecutorService to execute batch requests.

Returns

public abstract ScheduledExecutorService getScheduledExecutor ()

Returns ScheduledExecutorService to flush batched requests periodically.