Class QosEosHandler

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener, org.opendaylight.mdsal.eos.common.api.GenericEntityOwnershipListener<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange>

    @Singleton
    public class QosEosHandler
    extends java.lang.Object
    implements org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener, java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      QosEosHandler​(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService eos)  
    • Constructor Detail

      • QosEosHandler

        @Inject
        public QosEosHandler​(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService eos)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • close

        @PreDestroy
        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • addLocalOwnershipChangedListener

        public void addLocalOwnershipChangedListener​(java.util.function.Consumer<java.lang.Boolean> listener)
      • ownershipChanged

        public void ownershipChanged​(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange entityOwnershipChange)
        Specified by:
        ownershipChanged in interface org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
        Specified by:
        ownershipChanged in interface org.opendaylight.mdsal.eos.common.api.GenericEntityOwnershipListener<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,​org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange>
      • isQosClusterOwner

        public boolean isQosClusterOwner()