@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxDatabaseCacheConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The structure of database cache configuration that is used for mapping database paths to cache types in clusters.
Constructor and Description |
---|
KxDatabaseCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
KxDatabaseCacheConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCacheType()
The type of disk cache.
|
String |
getDataviewName()
The name of the dataview to be used for caching historical data on disk.
|
List<String> |
getDbPaths()
Specifies the portions of database that will be loaded into the cache for access.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCacheType(String cacheType)
The type of disk cache.
|
void |
setDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
|
void |
setDbPaths(Collection<String> dbPaths)
Specifies the portions of database that will be loaded into the cache for access.
|
String |
toString()
Returns a string representation of this object.
|
KxDatabaseCacheConfiguration |
withCacheType(String cacheType)
The type of disk cache.
|
KxDatabaseCacheConfiguration |
withDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
|
KxDatabaseCacheConfiguration |
withDbPaths(Collection<String> dbPaths)
Specifies the portions of database that will be loaded into the cache for access.
|
KxDatabaseCacheConfiguration |
withDbPaths(String... dbPaths)
Specifies the portions of database that will be loaded into the cache for access.
|
public void setCacheType(String cacheType)
The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
cacheType
- The type of disk cache. This parameter is used to map the database path to cache storage. The valid values
are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
public String getCacheType()
The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
public KxDatabaseCacheConfiguration withCacheType(String cacheType)
The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
cacheType
- The type of disk cache. This parameter is used to map the database path to cache storage. The valid values
are:
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
public List<String> getDbPaths()
Specifies the portions of database that will be loaded into the cache for access.
public void setDbPaths(Collection<String> dbPaths)
Specifies the portions of database that will be loaded into the cache for access.
dbPaths
- Specifies the portions of database that will be loaded into the cache for access.public KxDatabaseCacheConfiguration withDbPaths(String... dbPaths)
Specifies the portions of database that will be loaded into the cache for access.
NOTE: This method appends the values to the existing list (if any). Use
setDbPaths(java.util.Collection)
or withDbPaths(java.util.Collection)
if you want to override
the existing values.
dbPaths
- Specifies the portions of database that will be loaded into the cache for access.public KxDatabaseCacheConfiguration withDbPaths(Collection<String> dbPaths)
Specifies the portions of database that will be loaded into the cache for access.
dbPaths
- Specifies the portions of database that will be loaded into the cache for access.public void setDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
dataviewName
- The name of the dataview to be used for caching historical data on disk.public String getDataviewName()
The name of the dataview to be used for caching historical data on disk.
public KxDatabaseCacheConfiguration withDataviewName(String dataviewName)
The name of the dataview to be used for caching historical data on disk.
dataviewName
- The name of the dataview to be used for caching historical data on disk.public String toString()
toString
in class Object
Object.toString()
public KxDatabaseCacheConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.