public class AuthenticationKeyDataListener extends Object implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<AuthenticationKey>
Constructor and Description |
---|
AuthenticationKeyDataListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
AuthKeyDb akdb) |
Modifier and Type | Method and Description |
---|---|
boolean |
authKeysForEidsUnchanged(List<EidLispAddress> eids,
long timeout)
We maintain a HashMap with the update times of AuthenticationKey objects in the updatedEntries field.
|
void |
closeDataChangeListener() |
void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<AuthenticationKey>> changes) |
public AuthenticationKeyDataListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, AuthKeyDb akdb)
public void closeDataChangeListener()
public void onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<AuthenticationKey>> changes)
onDataTreeChanged
in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<AuthenticationKey>
public boolean authKeysForEidsUnchanged(List<EidLispAddress> eids, long timeout)
eids
- List of EIDs to checktimeout
- MapRegister cache timeout valueCopyright © 2019 OpenDaylight. All rights reserved.