public class CacheConfiguration extends Object
Constructor and Description |
---|
CacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getKeyPrefixSeparator()
If
useNameAsKeyPrefix is true then this value is used as a separator in a key to
separate cache name or alias from other parts of key. |
Integer |
getOperationTimeout() |
int |
hashCode() |
boolean |
isConsistentHashing() |
boolean |
isUseBinaryProtocol() |
boolean |
isUseNameAsKeyPrefix()
If true name of cache (name or alias used to get the cache instance) will be used as a prefix to all cache keys.
|
void |
setConsistentHashing(boolean consistentHashing) |
void |
setKeyPrefixSeparator(String keyPrefixSeparator)
If
useNameAsKeyPrefix is true then this value is used as a separator in a key to
separate cache name or alias from other parts of key. |
void |
setOperationTimeout(Integer operationTimeout) |
void |
setUseBinaryProtocol(boolean useBinaryProtocol) |
void |
setUseNameAsKeyPrefix(boolean useNameAsKeyPrefix)
If true name of cache (name or alias used to get the cache instance) will be used as a prefix to all cache keys.
|
String |
toString() |
@Generated(value="lombok") public CacheConfiguration()
@Generated(value="lombok") public boolean isConsistentHashing()
@Generated(value="lombok") public boolean isUseBinaryProtocol()
@Generated(value="lombok") public Integer getOperationTimeout()
@Generated(value="lombok") public boolean isUseNameAsKeyPrefix()
@Generated(value="lombok") public String getKeyPrefixSeparator()
useNameAsKeyPrefix
is true then this value is used as a separator in a key to
separate cache name or alias from other parts of key.@Generated(value="lombok") public void setConsistentHashing(boolean consistentHashing)
@Generated(value="lombok") public void setUseBinaryProtocol(boolean useBinaryProtocol)
@Generated(value="lombok") public void setOperationTimeout(Integer operationTimeout)
@Generated(value="lombok") public void setUseNameAsKeyPrefix(boolean useNameAsKeyPrefix)
@Generated(value="lombok") public void setKeyPrefixSeparator(String keyPrefixSeparator)
useNameAsKeyPrefix
is true then this value is used as a separator in a key to
separate cache name or alias from other parts of key.@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2019. All rights reserved.