|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpaceLeaseExpiration
Indicates the property that holds the entity lease expiration.
The Dynamic method must have a return value long as method signature.
e.g.
class MyPojo{
private long lease;
@SpaceLeaseExpiration
public long getLease(){
return lease;
}
public void setLease(long lease){
this.lease = lease;
}
}
Notice: The property value is ignored when set before a space operation, e.g. IPojoSpace.write(Object, net.jini.core.transaction.Transaction, long)
.
The value is only honored when set on External Data Source read, e.g. DataProvider.iterator(Object)
.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |