Annotation Type DeclaredThreadSafe


  • @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface DeclaredThreadSafe
    An annotation that can be used on types that do not need explicit synchronization.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int allowedParallelism  
    • Element Detail

      • allowedParallelism

        int allowedParallelism
        Default:
        -1