T- type of the element to be tested
public interface ValueValidator<T extends Comparable<T>>
All verification is done on property level which means that the configuration overall might still be invalid and needs to be checked by the provider vendor before actually using it.
ValueValidator implementations need to be fully thread-safe
and are recommended to be stateless to prevent any kind of unexpected
|Modifier and Type||Method and Description|
Validates the given value according to the defined validation logic and throws a ValidationException if configuration does not meet the requirements or logical errors are spotted.
void validate(T value) throws ValidationException
value- the value to be tested
ValidationException- if validation failed
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.