public class GovernanceCachePolicy extends AbstractPolicy
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONCURRENCY_LEVEL |
static long |
DEFAULT_MAXIMUM_SIZE |
static Duration |
DEFAULT_TTL |
ordername, services| Constructor and Description |
|---|
GovernanceCachePolicy() |
| Modifier and Type | Method and Description |
|---|---|
int |
getConcurrencyLevel() |
Long |
getMaximumSize() |
String |
getTtl() |
void |
setConcurrencyLevel(int concurrencyLevel) |
void |
setMaximumSize(Long maximumSize) |
void |
setTtl(String ttl) |
String |
toString() |
compareTo, getOrder, isValid, setOrder, stringOfDurationgetName, getServices, setName, setServicespublic static final Duration DEFAULT_TTL
public static final long DEFAULT_MAXIMUM_SIZE
public static final int DEFAULT_CONCURRENCY_LEVEL
public String getTtl()
public void setTtl(String ttl)
public Long getMaximumSize()
public void setMaximumSize(Long maximumSize)
public int getConcurrencyLevel()
public void setConcurrencyLevel(int concurrencyLevel)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.