Class CachingFilterService
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.internal.CachingFilterService
-
- All Implemented Interfaces:
FilterService
public class CachingFilterService extends java.lang.Object implements FilterService
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.flows.classification.FilterService
NOOP
-
-
Constructor Summary
Constructors Constructor Description CachingFilterService(FilterService delegate, CacheConfig cacheConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.String address, java.lang.String filterExpression)
void
validate(java.lang.String filterExpression)
-
-
-
Constructor Detail
-
CachingFilterService
public CachingFilterService(FilterService delegate, CacheConfig cacheConfig)
-
-
Method Detail
-
validate
public void validate(java.lang.String filterExpression) throws InvalidFilterException
- Specified by:
validate
in interfaceFilterService
- Throws:
InvalidFilterException
-
matches
public boolean matches(java.lang.String address, java.lang.String filterExpression)
- Specified by:
matches
in interfaceFilterService
-
-