public @interface CacheClusterConfig
EnableElastiCache
annotation to configure cache specific attributes. This annotation allows to explicitly
to define the cache names and also to configure further cache specific attributes like
the expiration.Modifier and Type | Required Element and Description |
---|---|
String |
name
Defines the name for the cache cluster.
|
Modifier and Type | Optional Element and Description |
---|---|
int |
expiration
Configures the expiration time of the particular cache cluster in seconds.
|
public abstract String name
Cacheable
annotation or others
referring to this name attribute inside the
Cacheable.value()
attribute.public abstract int expiration
EnableElastiCache.defaultExpiration()
will be
used.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.