Class HostConfigCache

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    @Singleton
    public class HostConfigCache
    extends org.opendaylight.genius.mdsalutil.cache.InstanceIdDataObjectCache<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.Hostconfig>
    • Constructor Summary

      Constructors 
      Constructor Description
      HostConfigCache​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.Hostconfig> get​(@NonNull java.lang.String hostId)  
      • Methods inherited from class org.opendaylight.genius.mdsalutil.cache.DataObjectCache

        added, checkIsClosed, close, get, getAllPresent, removed
      • Methods inherited from class java.lang.Object

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

      • HostConfigCache

        @Inject
        public HostConfigCache​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                               org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
    • Method Detail

      • get

        public java.util.Optional<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.Hostconfig> get​(@NonNull java.lang.String hostId)
                                                                                                                                                        throws org.opendaylight.mdsal.common.api.ReadFailedException
        Throws:
        org.opendaylight.mdsal.common.api.ReadFailedException