@ExperimentalApi public class LimitedRequestImpl extends Object implements SkipDiscardLimitedRequest
| Modifier | Constructor and Description |
|---|---|
protected |
LimitedRequestImpl(int start,
int limit,
int maxLimit) |
protected |
LimitedRequestImpl(int start,
int limit,
int needed,
int maxLimit) |
protected |
LimitedRequestImpl(int start,
int limit,
int needed,
int maxLimit,
boolean shouldSkipDiscardingThreshold) |
protected |
LimitedRequestImpl(PageRequest request,
int maxLimit) |
| Modifier and Type | Method and Description |
|---|---|
static LimitedRequest |
create(int maxLimit) |
static LimitedRequest |
create(int start,
int limit,
int maxLimit) |
static LimitedRequest |
create(int start,
int limit,
int maxLimit,
boolean shouldSkipDiscardingThreshold) |
static LimitedRequest |
create(PageRequest request,
int maxLimit) |
boolean |
equals(Object obj) |
int |
getLimit() |
int |
getMaxLimit() |
int |
getNeeded()
Deprecated.
since 5.7.2. No longer used.
|
int |
getStart() |
int |
hashCode() |
boolean |
shouldSkipDiscardingThreshold()
Return whether PaginationServiceImpl should skip DiscardingThreshold by set it threshold to 0
|
String |
toString() |
protected LimitedRequestImpl(PageRequest request, int maxLimit)
protected LimitedRequestImpl(int start,
int limit,
int maxLimit)
protected LimitedRequestImpl(int start,
int limit,
int needed,
int maxLimit)
protected LimitedRequestImpl(int start,
int limit,
int needed,
int maxLimit,
boolean shouldSkipDiscardingThreshold)
public static LimitedRequest create(PageRequest request, int maxLimit)
public static LimitedRequest create(int maxLimit)
public static LimitedRequest create(int start, int limit, int maxLimit)
public static LimitedRequest create(int start, int limit, int maxLimit, boolean shouldSkipDiscardingThreshold)
@Deprecated public int getNeeded()
getNeeded in interface LimitedRequestpublic int getStart()
getStart in interface LimitedRequestpublic int getLimit()
getLimit in interface LimitedRequestpublic int getMaxLimit()
getMaxLimit in interface LimitedRequestpublic boolean shouldSkipDiscardingThreshold()
SkipDiscardLimitedRequestshouldSkipDiscardingThreshold in interface SkipDiscardLimitedRequestCopyright © 2003–2021 Atlassian. All rights reserved.