Obsolete ask-based protocol
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / DatastoreContext.java
index 17e0a5c094f181e6115083a0085e8c33cf81301c..f9e6cc9ae606db79c3438a04d9c61b47e4689b88 100644 (file)
@@ -96,6 +96,7 @@ public class DatastoreContext implements ClientActorConfig {
     private int shardBatchedModificationCount = DEFAULT_SHARD_BATCHED_MODIFICATION_COUNT;
     private boolean writeOnlyTransactionOptimizationsEnabled = true;
     private long shardCommitQueueExpiryTimeoutInMillis = DEFAULT_SHARD_COMMIT_QUEUE_EXPIRY_TIMEOUT_IN_MS;
+    @Deprecated(since = "7.0.0", forRemoval = true)
     private boolean useTellBasedProtocol = true;
     private boolean transactionDebugContextEnabled = false;
     private String shardManagerPersistenceId;
@@ -365,6 +366,7 @@ public class DatastoreContext implements ClientActorConfig {
         return transactionDebugContextEnabled;
     }
 
+    @Deprecated(since = "7.0.0", forRemoval = true)
     public boolean isUseTellBasedProtocol() {
         return useTellBasedProtocol;
     }
@@ -602,6 +604,7 @@ public class DatastoreContext implements ClientActorConfig {
             return this;
         }
 
+        @Deprecated(since = "7.0.0", forRemoval = true)
         public Builder useTellBasedProtocol(final boolean value) {
             datastoreContext.useTellBasedProtocol = value;
             return this;