|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpaceVersion
Indicates the property that holds the optimistic locking version.
The Dynamic method must have a return value int as method signature.
e.g.
class MyPojo{
private int version;
@SpaceVersion
public int getVersion(){
return version;
}
public void setVersion(int version){
this.version = version;
}
}
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |