public class RecentChangesPoller extends Object implements Change.Source<RecentChangesPoller.Batch>
| Modifier and Type | Class and Description |
|---|---|
class |
RecentChangesPoller.Batch
Batch implementation for this poller.
|
| Constructor and Description |
|---|
RecentChangesPoller(WikibaseRepository wikibase,
Date firstStartTime,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
RecentChangesPoller.Batch |
firstBatch()
Fetch the first batch.
|
RecentChangesPoller.Batch |
nextBatch(RecentChangesPoller.Batch lastBatch)
Fetches the next batch after lastBatch.
|
public RecentChangesPoller(WikibaseRepository wikibase, Date firstStartTime, int batchSize)
public RecentChangesPoller.Batch firstBatch() throws RetryableException
Change.SourcefirstBatch in interface Change.Source<RecentChangesPoller.Batch>RetryableException - is the fetch fails in a retryable waypublic RecentChangesPoller.Batch nextBatch(RecentChangesPoller.Batch lastBatch) throws RetryableException
Change.SourcenextBatch in interface Change.Source<RecentChangesPoller.Batch>RetryableException - is the fetch fails in a retryable wayCopyright © 2016. All rights reserved.