public class BulkResponseInfo extends Object
Constructor and Description |
---|
BulkResponseInfo(List<BulkResponseImpl> responses,
int start,
int len,
long total)
Create a bulk response info bean.
|
Modifier and Type | Method and Description |
---|---|
int |
getLen()
Return the number of the bulk entries being returned.
|
List<BulkResponseImpl> |
getResponses()
Return the coordinator actions being returned.
|
int |
getStart()
Return the offset of the bulk entries being returned.
|
long |
getTotal()
Return the total number of bulk entries.
|
public BulkResponseInfo(List<BulkResponseImpl> responses, int start, int len, long total)
responses
- jobs being returned.start
- bulk entries offset.len
- number of bulk entries.total
- total bulk entries.public List<BulkResponseImpl> getResponses()
public int getStart()
For pagination purposes.
public int getLen()
For pagination purposes.
public long getTotal()
For pagination purposes.
Copyright © 2018 Apache Software Foundation. All rights reserved.