public static class CacheProperties.Redis extends Object
Constructor and Description |
---|
Redis() |
Modifier and Type | Method and Description |
---|---|
String |
getKeyPrefix() |
Duration |
getTimeToLive() |
boolean |
isCacheNullValues() |
boolean |
isUseKeyPrefix() |
void |
setCacheNullValues(boolean cacheNullValues) |
void |
setKeyPrefix(String keyPrefix) |
void |
setTimeToLive(Duration timeToLive) |
void |
setUseKeyPrefix(boolean useKeyPrefix) |
public Duration getTimeToLive()
public void setTimeToLive(Duration timeToLive)
public boolean isCacheNullValues()
public void setCacheNullValues(boolean cacheNullValues)
public String getKeyPrefix()
public void setKeyPrefix(String keyPrefix)
public boolean isUseKeyPrefix()
public void setUseKeyPrefix(boolean useKeyPrefix)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.