Package org.graylog2.plugin.lookup
Interface LookupCacheConfiguration
- All Known Implementing Classes:
CaffeineLookupCache.Config
,FallbackCacheConfig
,NullCache.Config
public interface LookupCacheConfiguration
-
Field Summary
-
Method Summary
-
Field Details
-
TYPE_FIELD
- See Also:
-
-
Method Details
-
type
String type() -
validate
Override this method to check for logical errors in the configuration, such as missing files, or invalid combinations of options. Prefer validation annotations for simple per-property validations rules, such as min/max values, non-empty strings etc.
By default the configuration has no extra validation errors (i.e. the result of this method is
Optional.empty()
.Returning failing validations here does not prevent saving the configuration!
- Returns:
- optionally map of property name to error messages
-