Package com.gigaspaces.annotation.pojo
Annotation 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; } } - Since:
- 5.1
- Author:
- Lior Ben Yizhak