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:
-
ExpirationAttributes
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExpirationMetaData
(int timeout, ExpirationActionType action) -
Method Summary
Modifier and TypeMethodDescriptionaction()
boolean
org.apache.geode.cache.ExpirationAction
protected static AnnotationBasedExpiration.ExpirationMetaData
from
(org.apache.geode.cache.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()
org.apache.geode.cache.ExpirationAttributes
toString()
-
Constructor Details
-
ExpirationMetaData
-
-
Method Details
-
from
protected static AnnotationBasedExpiration.ExpirationMetaData from(org.apache.geode.cache.ExpirationAttributes expirationAttributes) -
from
-
from
protected static AnnotationBasedExpiration.ExpirationMetaData from(IdleTimeoutExpiration expiration) -
from
-
toExpirationAttributes
public org.apache.geode.cache.ExpirationAttributes toExpirationAttributes() -
parseTimeout
-
parseAction
-
action
-
expirationAction
public org.apache.geode.cache.ExpirationAction expirationAction() -
timeout
public int timeout() -
equals
-
hashCode
public int hashCode() -
toString
-