public static class CacheName.Literal extends AbstractNamedLiteral<CacheName> implements CacheName
CacheName annotation.| Modifier and Type | Class and Description |
|---|---|
static interface |
io.micronaut.coherence.annotation.AnnotationLiteral.NoType |
CacheName.Literalf_sName| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
static CacheName.Literal |
of(java.lang.String sName)
Create a
CacheName.Literal. |
java.lang.String |
value()
The name used to identify a specific cache.
|
equals, hashCodepublic static CacheName.Literal of(java.lang.String sName)
CacheName.Literal.sName - the cache nameCacheName.Literal with the specified valuepublic java.lang.String value()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotation