2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.datastore;
10 import org.opendaylight.controller.cluster.datastore.messages.RegisterDataTreeChangeListener;
11 import org.opendaylight.controller.md.sal.dom.api.DOMDataTreeChangeListener;
14 * Intermediate proxy registration returned to the user when we cannot
15 * instantiate the registration immediately. It provides a bridge to
16 * a real registration which may materialize at some point in the future.
18 final class DelayedDataTreeListenerRegistration
19 extends DelayedListenerRegistration<DOMDataTreeChangeListener, RegisterDataTreeChangeListener> {
21 DelayedDataTreeListenerRegistration(final RegisterDataTreeChangeListener registerTreeChangeListener) {
22 super(registerTreeChangeListener);