Class RMContainerCacheManager

    • Constructor Detail

      • RMContainerCacheManager

        public RMContainerCacheManager()
    • Method Detail

      • setNodeService

        public void setNodeService​(NodeService nodeService)
        Parameters:
        nodeService - node service
      • isCached

        public boolean isCached​(StoreRef storeRef)
        Verifies if there is cached nodes for supplied storeRef
        Parameters:
        storeRef -
        Returns:
        true if there are cached nodes, false otherwise
      • get

        public Set<NodeRef> get​(StoreRef storeRef)
        Obtains the cached nodes for supplied storeRef
        Parameters:
        storeRef -
        Returns:
        a set containing the cached nodes
      • add

        public void add​(NodeRef nodeRef)
        Caches the supplied node
        Parameters:
        nodeRef -
      • remove

        public void remove​(NodeRef nodeRef)
        Removes the supplied entry from the cache
        Parameters:
        nodeRef -
      • reset

        public void reset()
        Resets the cache entries