Class ExecutePredicate<T>
java.lang.Object
com.giffing.bucket4j.spring.boot.starter.context.ExecutePredicate<T>
- Type Parameters:
T- the type of the predicate
- All Implemented Interfaces:
Predicate<T>
The ExecutePredicate is used to conditionally execute a rate limit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInitialize the ExecutionPredicate with the provided property configuration.abstract Stringname()The unique name of the ExecutionPredicate which can be used in the property configuration.protected ExecutePredicate<T>parseConfig(Map<String, String> args) protected abstract ExecutePredicate<T>parseSimpleConfig(String simpleConfig)
-
Constructor Details
-
ExecutePredicate
public ExecutePredicate()
-
-
Method Details
-
name
The unique name of the ExecutionPredicate which can be used in the property configuration. -
init
Initialize the ExecutionPredicate with the provided property configuration. -
parseSimpleConfig
-
parseConfig
-