Class ProductsAccessorCacheKey

    • Constructor Detail

      • ProductsAccessorCacheKey

        public ProductsAccessorCacheKey​(Long networkId,
                                        Set<Long> productIds,
                                        String methodName,
                                        Object argument)
    • Method Detail

      • getArgument

        public Object getArgument()
      • getmethodName

        public String getmethodName()
      • getNetworkId

        public Long getNetworkId()
      • getProductIds

        public Set<Long> getProductIds()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • matchesNetwork

        public boolean matchesNetwork​(Long networkId)
      • matchesNetworkAndMethod

        public boolean matchesNetworkAndMethod​(Long networkId,
                                               Collection<String> methodNames)
      • matchesNetworkAndMethod

        public boolean matchesNetworkAndMethod​(Long networkId,
                                               String methodName)
      • matchesNetworkMethodAndArgument

        public boolean matchesNetworkMethodAndArgument​(Long networkId,
                                                       String methodName,
                                                       Serializable argument)
      • matchesProduct

        public boolean matchesProduct​(Long productId)