Class ElanGroupCache
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
- org.opendaylight.netvirt.elan.internal.ElanGroupCache
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group>
@Singleton public class ElanGroupCache extends org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
-
Constructor Summary
Constructors Constructor Description ElanGroupCache(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group added)
void
addJobToWaitList(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, java.lang.Runnable job)
protected ElanGroupCache
getDataTreeChangeListener()
com.google.common.base.Optional<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group>
getGroup(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key)
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group deleted)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group old, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group updated)
-
-
-
Constructor Detail
-
ElanGroupCache
@Inject public ElanGroupCache(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, Scheduler scheduler)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
addJobToWaitList
public void addJobToWaitList(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, java.lang.Runnable job)
-
getDataTreeChangeListener
protected ElanGroupCache getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group deleted)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group old, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group updated)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group added)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group,ElanGroupCache>
-
getGroup
public com.google.common.base.Optional<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> getGroup(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group> key) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
-
-