public class CacheAndValidator<T> extends java.lang.Object implements CacheValidator<T>
| Constructor and Description |
|---|
CacheAndValidator(CacheValidator<T>... validators) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(Cache<T> cache,
T value)
Checks if a value is valid
|
void |
valueChange(T value) |
@SafeVarargs public CacheAndValidator(CacheValidator<T>... validators)
public boolean isValid(Cache<T> cache, T value)
CacheValidatorisValid in interface CacheValidator<T>public void valueChange(T value)
valueChange in interface CacheListener<T>