com.google.code.tempusfugit.concurrency.annotations
Annotation Type GuardedBy


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

Based on the annotation of the same name by Brian Goetz and Tim Tim Peierls.

Broadly intended for use in the same context as described by Goetz in Concurrency In Practice but with some attempt at type safety on the parameter types.

See Also:
GuardedBy.Type

Required Element Summary
 GuardedBy.Type lock
           
 
Optional Element Summary
 String details
           
 

Element Detail

lock

public abstract GuardedBy.Type lock

details

public abstract String details
Default:
""


Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.