Annotation Type GroupUpdates


  • @Documented
    @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface GroupUpdates
    This annotation indicates that injection field or method supports batching of updates. Unlike regular updates that are processed right away, grouped updates are performed at certain points, for instance, they could be processed when the system gets in an idle state. This is a performance improvement that can be used to eliminate extra updates on the injected objects that don't have to track the changes exactly, but rather only need to periodically catch up to the latest state of the injected variables. Note that the order of batched events is unspecified and is likely different from the original event order. As such, it is not recommended to use grouped updates on the methods that modify other context values.
    Since:
    1.3