X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatabroker%2Factors%2Fdds%2FSimpleShardBackendResolver.java;h=012e068a81bcbb23fba18f8163057d744b0f0d6c;hb=refs%2Fchanges%2F28%2F81128%2F25;hp=e086f08630240d949375eac31a07bb7d2a0a762d;hpb=7daddd72031b33ed686abe18a0813e41263aac8d;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/SimpleShardBackendResolver.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/SimpleShardBackendResolver.java index e086f08630..012e068a81 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/SimpleShardBackendResolver.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/SimpleShardBackendResolver.java @@ -11,7 +11,6 @@ import static com.google.common.base.Preconditions.checkArgument; import static java.util.Objects.requireNonNull; import java.util.concurrent.CompletionStage; -import javax.annotation.concurrent.ThreadSafe; import org.opendaylight.controller.cluster.access.client.BackendInfoResolver; import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier; import org.opendaylight.controller.cluster.datastore.utils.ActorUtils; @@ -21,11 +20,11 @@ import org.slf4j.LoggerFactory; /** * {@link BackendInfoResolver} implementation for static shard configuration based on ShardManager. Unlike the full * {@link ModuleShardBackendResolver}, this resolver is used in situations where the client corresponds exactly to one - * backend shard, e.g. there is only one fixed cookie assigned and the operation path is not consulted at all. + * backend shard, e.g. there is only one fixed cookie assigned and the operation path is not consulted at all. This + * class is thread-safe. * * @author Robert Varga */ -@ThreadSafe final class SimpleShardBackendResolver extends AbstractShardBackendResolver { private static final Logger LOG = LoggerFactory.getLogger(SimpleShardBackendResolver.class);