public interface TimeToLiveAccessor
TimeToLiveAccessor
extracts the objects time to live used for EXPIRE
.Modifier and Type | Method and Description |
---|---|
Long |
getTimeToLive(Object source) |
boolean |
isExpiringEntity(Class<?> type) |
@Nullable Long getTimeToLive(Object source)
source
- must not be null.boolean isExpiringEntity(Class<?> type)
type
- must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.