@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface RiakTombstone
This annotation is used to denote a boolean field or getter/setter pair that will be marked true if the object is a tombstone (deleted vector clock)
public class MyPojo { @RiakTombstone public boolean tombstone; } public class AnotherPojo { private boolean tombstone; @RiakTombstone public boolean getTombstone() { return tombstone; } @RiakTombstone public void setTombstone(boolean tombstone) { this.tombstone = tombstone; } }
Copyright © 2016. All rights reserved.