@Deprecated public class ControllerNotifyingDataChangeListener extends Object implements AutoCloseable, org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yangtools.yang.binding.DataObject>
Modifier and Type | Field and Description |
---|---|
static int |
BIT_ALL
Deprecated.
|
static int |
BIT_CREATE
Deprecated.
|
static int |
BIT_DELETE
Deprecated.
|
static int |
BIT_UPDATE
Deprecated.
|
Constructor and Description |
---|
ControllerNotifyingDataChangeListener(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid,
List<ControllerNotifyingDataChangeListener> waitList)
Deprecated.
Create a new ControllerNotifyingDataChangeListener.
|
ControllerNotifyingDataChangeListener(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type,
int mask,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid,
List<ControllerNotifyingDataChangeListener> waitList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
void |
close()
Deprecated.
|
boolean |
isCreated(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
Deprecated.
|
boolean |
isRemoved(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
Deprecated.
|
boolean |
isUpdated(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
Deprecated.
|
void |
modify(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType newType,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> newIid)
Deprecated.
Completely reset the state of this ControllerNotifyingDataChangeListener.
|
void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yangtools.yang.binding.DataObject>> changes)
Deprecated.
|
void |
registerDataChangeListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
Deprecated.
|
void |
setlisten(boolean value)
Deprecated.
|
void |
setMask(int mask)
Deprecated.
|
void |
waitForCreation()
Deprecated.
|
void |
waitForCreation(long timeout)
Deprecated.
|
void |
waitForDeletion()
Deprecated.
|
void |
waitForDeletion(long timeout)
Deprecated.
|
void |
waitForUpdate()
Deprecated.
|
void |
waitForUpdate(long timeout)
Deprecated.
|
public static final int BIT_CREATE
public static final int BIT_UPDATE
public static final int BIT_DELETE
public static final int BIT_ALL
public ControllerNotifyingDataChangeListener(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, int mask, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, List<ControllerNotifyingDataChangeListener> waitList)
public ControllerNotifyingDataChangeListener(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType type, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, List<ControllerNotifyingDataChangeListener> waitList)
type
- DataStore typeiid
- of the md-sal object we're waiting forwaitList
- for tracking outstanding changespublic void modify(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType newType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> newIid)
newType
- DataStore typenewIid
- of the md-sal object we're waiting forpublic void setlisten(boolean value)
public void setMask(int mask)
public void onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yangtools.yang.binding.DataObject>> changes)
onDataTreeChanged
in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yangtools.yang.binding.DataObject>
public boolean isCreated(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
public boolean isUpdated(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
public boolean isRemoved(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
public void clear()
public void registerDataChangeListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
public void waitForCreation() throws InterruptedException
InterruptedException
public void waitForCreation(long timeout) throws InterruptedException
InterruptedException
public void waitForUpdate() throws InterruptedException
InterruptedException
public void waitForUpdate(long timeout) throws InterruptedException
InterruptedException
public void waitForDeletion() throws InterruptedException
InterruptedException
public void waitForDeletion(long timeout) throws InterruptedException
InterruptedException
public void close()
close
in interface AutoCloseable
Copyright © 2019 OpenDaylight. All rights reserved.