Class HwvtepNodeHACacheImpl

  • All Implemented Interfaces:
    HwvtepNodeHACache

    @Singleton
    public class HwvtepNodeHACacheImpl
    extends java.lang.Object
    implements HwvtepNodeHACache
    Implementation of HwvtepNodeHACache.
    Author:
    Thomas Pantelis
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChild​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)  
      java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getChildrenForHANode​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)  
      java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getHAChildNodes()  
      java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getHAParentNodes()  
      java.util.Map<java.lang.String,​java.lang.Boolean> getNodeConnectionStatuses()  
      org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getParent​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)  
      boolean isHAEnabledDevice​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)  
      boolean isHAParentNode​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId)  
      void removeParent​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)  
      void updateConnectedNodeStatus​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)  
      void updateDisconnectedNodeStatus​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HwvtepNodeHACacheImpl

        public HwvtepNodeHACacheImpl()
    • Method Detail

      • addChild

        public void addChild​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId,
                             org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)
        Specified by:
        addChild in interface HwvtepNodeHACache
      • isHAEnabledDevice

        public boolean isHAEnabledDevice​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
        Specified by:
        isHAEnabledDevice in interface HwvtepNodeHACache
      • isHAParentNode

        public boolean isHAParentNode​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeId)
        Specified by:
        isHAParentNode in interface HwvtepNodeHACache
      • getChildrenForHANode

        public java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getChildrenForHANode​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)
        Specified by:
        getChildrenForHANode in interface HwvtepNodeHACache
      • getHAParentNodes

        public java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getHAParentNodes()
        Specified by:
        getHAParentNodes in interface HwvtepNodeHACache
      • getHAChildNodes

        public java.util.Set<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> getHAChildNodes()
        Specified by:
        getHAChildNodes in interface HwvtepNodeHACache
      • getParent

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getParent​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> childId)
        Specified by:
        getParent in interface HwvtepNodeHACache
      • removeParent

        public void removeParent​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> parentId)
        Specified by:
        removeParent in interface HwvtepNodeHACache
      • updateConnectedNodeStatus

        public void updateConnectedNodeStatus​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)
        Specified by:
        updateConnectedNodeStatus in interface HwvtepNodeHACache
      • updateDisconnectedNodeStatus

        public void updateDisconnectedNodeStatus​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)
        Specified by:
        updateDisconnectedNodeStatus in interface HwvtepNodeHACache