@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface TimeLimit
LRA and Compensate annotations to indicate the
maximum time that the LRA or participant should remain active for.
When applied at the class level the timeout applies to any method that
starts an LRA or registers a participant.public abstract long limit
Compensate in the same class) will be invoked if the time limit is
reached.public abstract TimeUnit unit
Copyright © 2018 Eclipse Foundation. All rights reserved.