GigaSpaces XAP 9.7.2 API

com.gigaspaces.annotation.pojo
Annotation Type SpaceLeaseExpiration


@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; &#064SpaceLeaseExpiration 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


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.