@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface RiakVClock
This annotation can be used with either byte[]
or VClock
types.
public class MyPojo { @RiakVClock public VClock vclock; } public class AnotherPojo { private VClock vclock; @RiakVClock public VClock getVClock() { return vclock; } @RiakVClock public void setVClock(VClock vclock) { this.vclock = vclock; } }
Copyright © 2016. All rights reserved.