@Retention(value=RUNTIME) @Target(value={java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.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 © 2014. All rights reserved.