Package | Description |
---|---|
com.levigo.jadice.server | |
com.levigo.jadice.server.core.security | |
com.levigo.jadice.server.core.util |
Modifier and Type | Class and Description |
---|---|
class |
NodeCountLimit
|
class |
PageCountLimit
A
Limit restricting the maximum number of pages within a generated document. |
class |
StreamCountLimit
A
Limit restricting the maximum number of streams routed through stream bundles to which
the limit applies. |
class |
StreamSizeLimit
|
class |
TimeLimit
|
Modifier and Type | Method and Description |
---|---|
<L extends Limit> |
Limits.get(Class<L> type) |
<L extends Limit> |
Limits.get(Class<L> type,
Limit.WhenExceedAction action) |
<L extends Limit> |
Limits.getMostRestrictive(Class<L> type,
Limit.WhenExceedAction action)
Find the most restrictive
Limit of the the given type and exceed action |
Modifier and Type | Method and Description |
---|---|
Limit |
LimitExceeded.getLimit()
The
Limit that triggered the exception. |
Modifier and Type | Method and Description |
---|---|
void |
Limits.add(Limit limit)
Add a limit.
|
void |
Node.apply(Limit limit)
Apply a
Limit to this Node. |
void |
Job.apply(Limit limit)
Apply a
Limit to this Job. |
int |
NodeCountLimit.compareTo(Limit other) |
int |
StreamCountLimit.compareTo(Limit other) |
int |
PageCountLimit.compareTo(Limit other) |
int |
StreamSizeLimit.compareTo(Limit other) |
int |
TimeLimit.compareTo(Limit other) |
boolean |
Node.remove(Limit limit)
Remove a previously applied
Limit . |
boolean |
Limits.remove(Limit limit)
Remove a previously applied
Limit . |
boolean |
Job.remove(Limit limit)
Remove a previously applied
Limit . |
Constructor and Description |
---|
LimitExceeded(Limit limit) |
Constructor and Description |
---|
LimitEnforcingRule(String name,
String condition,
Collection<Limit> limits) |
Modifier and Type | Method and Description |
---|---|
<L extends Limit> |
LimitSupport.getNextSignificantLimit(Class<L> limitType,
Limit.WhenExceedAction action)
Get the next
Limit of given Type and Action that is not exceeded yet and that will be
triggered on LimitSupport.test(Class, long) . |
Modifier and Type | Method and Description |
---|---|
void |
LimitSupport.test(Class<? extends Limit> limitType,
long count)
Test if the
Limit s of the given type were hit. |
Copyright © 2017 levigo holding gmbh. All rights reserved.