public interface MethodConstraints
InvocationConstraints, used to specify per-method constraints.
An instance of this interface must implement
Object.equals to return
true when passed a mapping that is equivalent
in trust, content, and function, and to return
false otherwise. That is, the
equals method must be a sufficient substitute for
|Modifier and Type||Method and Description|
Returns the constraints for the specified method as a non-
Returns an iterator that yields all of the possible distinct constraints that can be returned by
InvocationConstraints getConstraints(Method method)
nullvalue. The same constraints are always returned for any given
Methodinstance and for any equivalent
Methodinstance. Note that no exception is thrown for "unknown" methods; a constraints instance is always returned.
method- the method
NullPointerException- if the argument is
getConstraints, in arbitrary order and with duplicates permitted. The iterator throws an
UnsupportedOperationExceptionon any attempt to remove an element.
getConstraints, in arbitrary order and with duplicates permitted
Copyright © GigaSpaces.