@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpacePersist
class MyPojo{
private boolean isPersistent;
@SpacePersist
public boolean isPersistent(){
return isPersistent;
}
}
Copyright © GigaSpaces.