X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Fnetconf-client-mdsal%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fclient%2Fmdsal%2FNetconfDeviceBuilder.java;h=7ce98d0b7550a9f41ca6a2780152f887ebb0f2b0;hb=abdc43539a3756f71e687f061d571cf965e58f0d;hp=8207d81115dac376def9bfc089819b0bbebb6da9;hpb=4ecd4696fe1d16885c69e659bff7da86c5257531;p=netconf.git diff --git a/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/NetconfDeviceBuilder.java b/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/NetconfDeviceBuilder.java index 8207d81115..7ce98d0b75 100644 --- a/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/NetconfDeviceBuilder.java +++ b/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/NetconfDeviceBuilder.java @@ -9,7 +9,7 @@ package org.opendaylight.netconf.client.mdsal; import static java.util.Objects.requireNonNull; -import com.google.common.util.concurrent.ListeningExecutorService; +import java.util.concurrent.Executor; import org.opendaylight.netconf.client.mdsal.NetconfDevice.SchemaResourcesDTO; import org.opendaylight.netconf.client.mdsal.api.BaseNetconfSchemas; import org.opendaylight.netconf.client.mdsal.api.DeviceActionFactory; @@ -21,13 +21,10 @@ public class NetconfDeviceBuilder { private SchemaResourcesDTO schemaResourcesDTO; private RemoteDeviceId id; private RemoteDeviceHandler salFacade; - private ListeningExecutorService globalProcessingExecutor; + private Executor globalProcessingExecutor; private DeviceActionFactory deviceActionFactory; private BaseNetconfSchemas baseSchemas; - public NetconfDeviceBuilder() { - } - public NetconfDeviceBuilder setReconnectOnSchemasChange(final boolean reconnectOnSchemasChange) { this.reconnectOnSchemasChange = reconnectOnSchemasChange; return this; @@ -48,7 +45,7 @@ public class NetconfDeviceBuilder { return this; } - public NetconfDeviceBuilder setGlobalProcessingExecutor(final ListeningExecutorService globalProcessingExecutor) { + public NetconfDeviceBuilder setGlobalProcessingExecutor(final Executor globalProcessingExecutor) { this.globalProcessingExecutor = globalProcessingExecutor; return this; }