This package contains the annotations for PatternTesting Concurrent. The annotations in this package can be used to control some concurrenty. In this case you must include
patterntesting-concurrency-x.x.x.jaras AspectJ library.
Annotation Types Summary Annotation Type Description ForceThreadSafeCollectionWith this annotation you can mark classes and methods which sould use thread-safe collection classes (i.e. sychnronized collections) only. GuardedByWith this annotation you can document the lock which guards the field or method. RunBackgroundWith this annotation you can mark methods which should run in background (as separate thread). RunParallelMark methods or constructors which should be run parallel in different threads with this annotation. SynchronizedInstead of synchronized methods you can mark these methods as "@Synchronized". TestThreadMark methods for thread testing with this annotation. ThreadSafeIf a class is developped "tread-safe" you can use this annotation to document it.