001package org.modeshape.common.annotation;
002
003import java.lang.annotation.Documented;
004import java.lang.annotation.ElementType;
005import java.lang.annotation.Retention;
006import java.lang.annotation.RetentionPolicy;
007import java.lang.annotation.Target;
008
009/**
010 * Copyright (c) 2005 Brian Goetz and Tim Peierls.<br />
011 * Released under the Creative Commons Attribution License<br />
012 * (http://creativecommons.org/licenses/by/2.5)<br />
013 * Official home: http://www.jcip.net<br />
014 * Adopted from Java Concurrency in Practice.
015 * <p>
016 * This annotation documents the class as <i>not</i> being thread-safe, meaning the caller is expected to properly handle and
017 * guard all concurrent operations on an instance.
018 * </p>
019 * 
020 * @see ThreadSafe
021 */
022@Documented
023@Target( ElementType.TYPE )
024@Retention( RetentionPolicy.RUNTIME )
025public @interface NotThreadSafe {
026}