public class IdListChangeSource extends Object implements Change.Source<IdListChangeSource.Batch>
| Modifier and Type | Class and Description |
|---|---|
class |
IdListChangeSource.Batch
Batch implementation for this change source.
|
| Constructor and Description |
|---|
IdListChangeSource(String[] ids,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
IdListChangeSource.Batch |
firstBatch()
Fetch the first batch.
|
static IdListChangeSource |
forItems(String[] ids,
int batchSize)
Build and IdChangeSource for items as opposed to properties.
|
IdListChangeSource.Batch |
nextBatch(IdListChangeSource.Batch lastBatch)
Fetches the next batch after lastBatch.
|
public IdListChangeSource(String[] ids, int batchSize)
public static IdListChangeSource forItems(String[] ids, int batchSize)
public IdListChangeSource.Batch firstBatch() throws RetryableException
Change.SourcefirstBatch in interface Change.Source<IdListChangeSource.Batch>RetryableException - is the fetch fails in a retryable waypublic IdListChangeSource.Batch nextBatch(IdListChangeSource.Batch lastBatch) throws RetryableException
Change.SourcenextBatch in interface Change.Source<IdListChangeSource.Batch>RetryableException - is the fetch fails in a retryable wayCopyright © 2016. All rights reserved.