Class SimpleKey

java.lang.Object
org.springframework.cache.interceptor.SimpleKey
All Implemented Interfaces:
Serializable

public class SimpleKey extends Object implements Serializable
A simple key as returned from the SimpleKeyGenerator.
Since:
4.0
Author:
Phillip Webb, Juergen Hoeller
See Also:
  • Field Details

    • EMPTY

      public static final SimpleKey EMPTY
      An empty key.
  • Constructor Details

    • SimpleKey

      public SimpleKey(Object... elements)
      Create a new SimpleKey instance.
      Parameters:
      elements - the elements of the key
  • Method Details