public class AuthenticationKeyDataListener extends Object implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.db.instance.AuthenticationKey>
| Constructor and Description |
|---|
AuthenticationKeyDataListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
org.opendaylight.lispflowmapping.mapcache.AuthKeyDb akdb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authKeysForEidsUnchanged(List<org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.map.register.cache.metadata.container.map.register.cache.metadata.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<org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.db.instance.AuthenticationKey>> changes) |
public AuthenticationKeyDataListener(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
org.opendaylight.lispflowmapping.mapcache.AuthKeyDb akdb)
public void closeDataChangeListener()
public void onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.db.instance.AuthenticationKey>> changes)
onDataTreeChanged in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.db.instance.AuthenticationKey>public boolean authKeysForEidsUnchanged(List<org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.map.register.cache.metadata.container.map.register.cache.metadata.EidLispAddress> eids, long timeout)
eids - List of EIDs to checktimeout - MapRegister cache timeout valueCopyright © 2018 OpenDaylight. All rights reserved.