Package com.gigaspaces.annotation.pojo
Annotation 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).- Since:
- 7.0
- Author:
- Guy Korland