public enum TSLastAccess extends Enum<TSLastAccess> implements com.fasterxml.clustermate.service.LastAccessUpdateMethod
LastAccessUpdateMethod
choices that "Basic"
TransiStore implementation supports -- simply just "none" or "simple";
latter meaning that there is one-to-one mapping between stored entries
and matching last-access timestamps.Modifier and Type | Method and Description |
---|---|
byte |
asByte() |
int |
asInt() |
boolean |
meansNoUpdate() |
static TSLastAccess |
valueOf(int v) |
static TSLastAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TSLastAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TSLastAccess NONE
public static final TSLastAccess SIMPLE
public static TSLastAccess[] values()
for (TSLastAccess c : TSLastAccess.values()) System.out.println(c);
public static TSLastAccess 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 asInt()
asInt
in interface com.fasterxml.clustermate.service.LastAccessUpdateMethod
public byte asByte()
asByte
in interface com.fasterxml.clustermate.service.LastAccessUpdateMethod
public boolean meansNoUpdate()
meansNoUpdate
in interface com.fasterxml.clustermate.service.LastAccessUpdateMethod
public static TSLastAccess valueOf(int v)
Copyright © 2013 FasterXML. All Rights Reserved.