Make configuration push timeout configurable 98/4598/1
authorRobert Varga <rovarga@cisco.com>
Wed, 22 Jan 2014 16:24:16 +0000 (17:24 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 22 Jan 2014 16:24:16 +0000 (17:24 +0100)
commita2bc1aefc88e3ff155e45d66bec8e4f4474a8ce8
tree69ebdee643e239a230babbcd990240715da1a773
parentbb661d5b5f23d9f9288b57e24d2bab5545c60f54
Make configuration push timeout configurable

This patch adds the option to specify a the pusher timeout, such that it
can be made either shorter or longer than the default 2 minutes.

Another improvement is the use of System.nanoTime(), making the deadline
work in face of calender time changing.

Change-Id: Ia8b596c7cd285695696fa5074f7d1f23c2b8b560
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java
opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterActivator.java