#[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 ==.impl StructuralPartialEq for KxCacheStorageConfiguration
Auto Trait Implementations§
impl Freeze for KxCacheStorageConfiguration
impl RefUnwindSafe for KxCacheStorageConfiguration
impl Send for KxCacheStorageConfiguration
impl Sync for KxCacheStorageConfiguration
impl Unpin for KxCacheStorageConfiguration
impl UnwindSafe for KxCacheStorageConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more