sk.baka.tools.concurrent
Annotation Type GuardedBy


@Documented
@Target(value={FIELD,METHOD})
@Retention(value=SOURCE)
public @interface GuardedBy

A variable annotated with this annotation is guarded by given lock. See Java Concurrency in Practice for details.

Author:
Martin Vysny

Required Element Summary
 String value
          The lock name.
 

Element Detail

value

public abstract String value
The lock name.



Copyright © 2009-2010. All Rights Reserved.