Annotation Type CTag


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface CTag
    Marks the method which returns a CTag for the resource

    A CTag "tags" a collection with some identifier representing the current state. The only requirement for this tag is that it changes whenever the state of any member changes

    A simple way to achieve this is to set the ctag to the system clock whenever any member of the collection changes