Class AnnotationBasedExpiration.ExpirationMetaData
java.lang.Object
org.springframework.data.gemfire.expiration.AnnotationBasedExpiration.ExpirationMetaData
- Enclosing class:
- AnnotationBasedExpiration<K,
V>
The ExpirationMetaData class encapsulates the settings constituting the expiration policy including
the expiration timeout and the action performed when expiration occurs.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExpirationMetaData
(int timeout, ExpirationActionType action) -
Method Summary
Modifier and TypeMethodDescriptionaction()
boolean
protected static AnnotationBasedExpiration.ExpirationMetaData
from
(ExpirationAttributes expirationAttributes) protected static AnnotationBasedExpiration.ExpirationMetaData
from
(Expiration expiration) protected static AnnotationBasedExpiration.ExpirationMetaData
from
(IdleTimeoutExpiration expiration) protected static AnnotationBasedExpiration.ExpirationMetaData
from
(TimeToLiveExpiration expiration) int
hashCode()
protected static ExpirationActionType
parseAction
(String action) protected static int
parseTimeout
(String timeout) int
timeout()
toString()
-
Constructor Details
-
ExpirationMetaData
-
-
Method Details
-
from
protected static AnnotationBasedExpiration.ExpirationMetaData from(ExpirationAttributes expirationAttributes) -
from
-
from
protected static AnnotationBasedExpiration.ExpirationMetaData from(IdleTimeoutExpiration expiration) -
from
-
toExpirationAttributes
-
parseTimeout
-
parseAction
-
action
-
expirationAction
-
timeout
public int timeout() -
equals
-
hashCode
public int hashCode() -
toString
-