Package | Description |
---|---|
com.levigo.jadice.server | |
com.levigo.jadice.server.core.util |
Modifier and Type | Method and Description |
---|---|
Limit.WhenExceedAction |
Limit.getExceedAction() |
static Limit.WhenExceedAction |
Limit.WhenExceedAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Limit.WhenExceedAction[] |
Limit.WhenExceedAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<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 |
void |
Limit.setExceedAction(Limit.WhenExceedAction exceedAction)
Set the
action to take when the limit has been exceeded. |
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) . |
Copyright © 2017 levigo holding gmbh. All rights reserved.