#[non_exhaustive]pub struct KxCacheStorageConfiguration {
pub type: String,
pub size: i32,
}Expand description
The configuration for read only disk cache associated with a cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: StringThe type of cache storage. The valid values are:
-
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
-
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
-
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache size in increments of 6000 GB.
size: i32The size of cache in Gigabytes.
Implementations§
source§impl KxCacheStorageConfiguration
impl KxCacheStorageConfiguration
sourcepub fn type(&self) -> &str
pub fn type(&self) -> &str
The type of cache storage. The valid values are:
-
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
-
CACHE_250 – This type provides at least 250 MB/s disk access throughput.
-
CACHE_12 – This type provides at least 12 MB/s disk access throughput.
For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache size in increments of 6000 GB.
source§impl KxCacheStorageConfiguration
impl KxCacheStorageConfiguration
sourcepub fn builder() -> KxCacheStorageConfigurationBuilder
pub fn builder() -> KxCacheStorageConfigurationBuilder
Creates a new builder-style object to manufacture KxCacheStorageConfiguration.
Trait Implementations§
source§impl Clone for KxCacheStorageConfiguration
impl Clone for KxCacheStorageConfiguration
source§fn clone(&self) -> KxCacheStorageConfiguration
fn clone(&self) -> KxCacheStorageConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KxCacheStorageConfiguration
impl Debug for KxCacheStorageConfiguration
source§impl PartialEq for KxCacheStorageConfiguration
impl PartialEq for KxCacheStorageConfiguration
source§fn eq(&self, other: &KxCacheStorageConfiguration) -> bool
fn eq(&self, other: &KxCacheStorageConfiguration) -> bool
self and other values to be equal, and is used
by ==.