Annotation Type SnapLock


  • @Target({METHOD,ANNOTATION_TYPE})
    @Retention(RUNTIME)
    @Inherited
    @Documented
    public @interface SnapLock
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String key
      Key of lock, this key was unique to identify task
      long time
      Time in seconds that lock was active
    • Element Detail

      • key

        java.lang.String key
        Key of lock, this key was unique to identify task
        Returns:
        key
        Default:
        ""
      • time

        long time
        Time in seconds that lock was active
        Returns:
        defined time or default time (30 seconds)
        Default:
        30L