Interface LimiterFilterConditionAccess
-
public interface LimiterFilterConditionAccess
Provides access to per-feature limiter filter conditions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LimiterFilterCondition<?>
get(java.lang.String featureName)
Gets the limiter filter condition for the specified feature ornull
.<MessageType>
java.util.Collection<LimiterFilterCondition<MessageType>>getAll(java.lang.Class<MessageType> messageType)
Gets all limiter filter conditions for the specified message type.void
put(java.lang.String featureName, LimiterFilterCondition<?> limiterFilterCondition)
Sets the specified limiter filter condition for the given feature.
-
-
-
Method Detail
-
get
LimiterFilterCondition<?> get(java.lang.String featureName)
Gets the limiter filter condition for the specified feature ornull
.- Parameters:
featureName
- the name of the feature to get the limiter filter condition for- Returns:
- the specified feature's limiter filter condition or
null
-
put
void put(java.lang.String featureName, LimiterFilterCondition<?> limiterFilterCondition)
Sets the specified limiter filter condition for the given feature.- Parameters:
featureName
- the name of the feature to set the limiter filter condition forlimiterFilterCondition
- the limiter filter condition ornull
to clear
-
getAll
<MessageType> java.util.Collection<LimiterFilterCondition<MessageType>> getAll(java.lang.Class<MessageType> messageType)
Gets all limiter filter conditions for the specified message type.- Parameters:
messageType
- the message type class to get limiter filter conditions for- Returns:
- a collection of limiter filter conditions for the specified message type
-
-