Annotation Type Timeout


@Retention(RUNTIME) @Target(METHOD) public @interface Timeout
If pessimistic concurrency control is being used then a conflict will immediately cause the operation to fail and the application can do something else. If instead the developer wants the system to retry getting the lock before returning, then this annotation defines the time between each retry attempt. This is milliseconds.
Author:
marklittle
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • period

      int period