T
- public interface RedisPersistentEntity<T> extends org.springframework.data.keyvalue.core.mapping.KeyValuePersistentEntity<T,RedisPersistentProperty>
PersistentEntity
.Modifier and Type | Method and Description |
---|---|
RedisPersistentProperty |
getExplicitTimeToLiveProperty()
Get the
PersistentProperty that is annotated with TimeToLive . |
TimeToLiveAccessor |
getTimeToLiveAccessor()
Get the
TimeToLiveAccessor associated with the entity. |
boolean |
hasExplictTimeToLiveProperty() |
default boolean |
isExpiring() |
getKeySpace
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
forEach, iterator, spliterator
TimeToLiveAccessor getTimeToLiveAccessor()
TimeToLiveAccessor
associated with the entity.boolean hasExplictTimeToLiveProperty()
TimeToLive
.@Nullable RedisPersistentProperty getExplicitTimeToLiveProperty()
PersistentProperty
that is annotated with TimeToLive
.default boolean isExpiring()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.