pub struct StoragePathManager { /* private fields */ }Expand description
스토리지 경로 관리자 (StoragePathManager)
5-Tier 하이브리드 스토리지 시스템의 파편화된 파일 경로를 하나의 루트 디렉토리 산하로 통합 관리합니다. 단일 폴더(Virtual File System 대체) 방식을 통해 유저의 단순 백업/복제를 지원합니다.
Implementations§
Source§impl StoragePathManager
impl StoragePathManager
Sourcepub fn cold_ec_dir(&self) -> Result<PathBuf>
pub fn cold_ec_dir(&self) -> Result<PathBuf>
Erasure Coding (Cold Tier) 저장 경로 반환 및 보장
Sourcepub fn encrypted_wal_path(&self) -> PathBuf
pub fn encrypted_wal_path(&self) -> PathBuf
암호화된 Write Ahead Log 경로 (파일)
Sourcepub fn columnar_cache_dir(&self) -> Result<PathBuf>
pub fn columnar_cache_dir(&self) -> Result<PathBuf>
Columnar Cache 분할 파일 보관 경로
Sourcepub fn l2_cache_dir(&self) -> Result<PathBuf>
pub fn l2_cache_dir(&self) -> Result<PathBuf>
메모리 초과 시 스필링할 객체 캐시(L2 Cache) 경로
Sourcepub fn cleanup_orphans(&self) -> Result<()>
pub fn cleanup_orphans(&self) -> Result<()>
데몬 기동 시 비정상 종료로 남은 고아 파일(Garbage)을 청소합니다.
Trait Implementations§
Source§impl Clone for StoragePathManager
impl Clone for StoragePathManager
Source§fn clone(&self) -> StoragePathManager
fn clone(&self) -> StoragePathManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StoragePathManager
impl RefUnwindSafe for StoragePathManager
impl Send for StoragePathManager
impl Sync for StoragePathManager
impl Unpin for StoragePathManager
impl UnsafeUnpin for StoragePathManager
impl UnwindSafe for StoragePathManager
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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