/**
* ThreadLocal used to detect if the task completion thread is running the future listener Runnables.
*/
- private static final ThreadLocal<Boolean> ON_TASK_COMPLETION_THREAD_TL = new ThreadLocal<Boolean>();
+ private static final ThreadLocal<Boolean> ON_TASK_COMPLETION_THREAD_TL = new ThreadLocal<>();
private final Executor listenerExecutor;
throw new UnsupportedOperationException("Commit cohort is not supported for " + path);
}
- private LogicalDatastoreType toLegacy(org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType) {
+ private static LogicalDatastoreType toLegacy(org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType) {
switch (datastoreType) {
case CONFIGURATION:
return LogicalDatastoreType.CONFIGURATION;
throw new IllegalArgumentException("Unsupported data store type: " + datastoreType);
}
}
+
+ @Override
+ public String toString() {
+ return "Clustered ConcurrentDOMDataBroker";
+ }
}