|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface Routing
A method parameter annotation allowing to control the routing of a certain remote invocation using an anntoation. If annotated, will use the paramter as the routing index (determines which partition it will "hit").
The annotation value allows to set an optional method name which will be invoked on the parameter using reflection in order to get the actual routing index.
Optional Element Summary | |
---|---|
String |
value
Optional method name. |
public abstract String value
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |