public class Attributes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Attributes.Raw |
Modifier and Type | Field and Description |
---|---|
static int |
MAX_TTL
If this limit is ever raised, make sure @
Integer.MAX_VALUE is not allowed,
as this is used as a flag to represent expired liveness. |
Modifier and Type | Method and Description |
---|---|
void |
addFunctionsTo(java.util.List<Function> functions) |
void |
collectMarkerSpecification(VariableSpecifications boundNames) |
long |
getTimestamp(long now,
QueryOptions options) |
int |
getTimeToLive(QueryOptions options,
CFMetaData metadata) |
boolean |
isTimestampSet() |
boolean |
isTimeToLiveSet() |
static Attributes |
none() |
public static final int MAX_TTL
Integer.MAX_VALUE
is not allowed,
as this is used as a flag to represent expired liveness.
See LivenessInfo.EXPIRED_LIVENESS_TTL
public static Attributes none()
public void addFunctionsTo(java.util.List<Function> functions)
public boolean isTimestampSet()
public boolean isTimeToLiveSet()
public long getTimestamp(long now, QueryOptions options) throws InvalidRequestException
InvalidRequestException
public int getTimeToLive(QueryOptions options, CFMetaData metadata) throws InvalidRequestException
InvalidRequestException
public void collectMarkerSpecification(VariableSpecifications boundNames)
Copyright © 2018 The Apache Software Foundation