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.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.base.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.controller.md.sal.binding.api.DataBroker dataBroker,
                               org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
    • Method Detail

      • get

        public com.google.common.base.Optional<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.Hostconfig> get​(@NonNull java.lang.String hostId)
                                                                                                                                                                     throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
        Throws:
        org.opendaylight.controller.md.sal.common.api.data.ReadFailedException