|
GigaSpaces XAP 10.0.1 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 annotation. If annotated, will use the parameter 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 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |