Bump odlparent to 5.0.0
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / LookupTask.java
index 87f7ed170f9df3de3a3b7f82e81853b5b9135b87..ad4215c965deaf483b47145a7d1667c6599460ad 100644 (file)
@@ -11,14 +11,12 @@ import static akka.actor.ActorRef.noSender;
 
 import akka.actor.ActorRef;
 import akka.actor.Status;
-import javax.annotation.concurrent.NotThreadSafe;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * Base class for lookup tasks. Lookup tasks are supposed to run repeatedly
- * until successful lookup or maximum retries are hit.
+ * Base class for lookup tasks. Lookup tasks are supposed to run repeatedly until successful lookup or maximum retries
+ * are hit. This class is NOT thread-safe.
  */
-@NotThreadSafe
 abstract class LookupTask implements Runnable {
     private final int maxRetries;
     private final ActorRef replyTo;