1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3 xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
4 xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
5 odl:restart-dependents-on-updates="true">
7 <cm:property-placeholder persistent-id="org.opendaylight.netty.timer" update-strategy="none">
8 <cm:default-properties>
9 <cm:property name="tick-duration" value="0"/>
10 <cm:property name="ticks-per-wheel" value="0"/>
11 </cm:default-properties>
12 </cm:property-placeholder>
14 <bean id="timer" class="org.opendaylight.controller.config.yang.netty.timer.HashedWheelTimerCloseable"
15 factory-method="newInstance">
16 <argument><null/></argument> <!-- ThreadFactory -->
17 <argument value="${tick-duration}"/>
18 <argument value="${ticks-per-wheel}"/>
21 <service ref="timer" interface="io.netty.util.Timer" odl:type="global-timer"/>