Class CacheKey


  • public class CacheKey
    extends Object
    A general purpose cache key class that represents a composite key using an array of values
    • Method Detail

      • values

        public Object[] values()
        Get a copy of the values array used by this cache key.
        Returns:
        a copy of the values array used by this cache key
      • hashCode

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

        public static CacheKey key​(Object... values)
        A factory method for creating CacheKey instances from one or more values
        Parameters:
        values - the values
        Returns:
        the CacheKey instance