public static enum CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType extends Enum<CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType>
Enum Constant and Description |
---|
ACCESSED
Expiry policy type for the
AccessedExpiryPolicy . |
CREATED
Expiry policy type for the
CreatedExpiryPolicy . |
ETERNAL
Expiry policy type for the
EternalExpiryPolicy . |
MODIFIED
Expiry policy type for the
ModifiedExpiryPolicy . |
TOUCHED
Expiry policy type for the
TouchedExpiryPolicy . |
Modifier and Type | Method and Description |
---|---|
static CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType |
getById(int id) |
int |
getId() |
static CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType CREATED
CreatedExpiryPolicy
.public static final CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType MODIFIED
ModifiedExpiryPolicy
.public static final CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType ACCESSED
AccessedExpiryPolicy
.public static final CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType TOUCHED
TouchedExpiryPolicy
.public static final CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType ETERNAL
EternalExpiryPolicy
.public static CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType[] values()
for (CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType c : CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType.values()) System.out.println(c);
public static CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public static CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType getById(int id)
Copyright © 2020 Hazelcast, Inc.. All rights reserved.