public interface MetaStore
Modifier and Type | Method and Description |
---|---|
void |
addPage(PageId pageId,
PageInfo pageInfo)
Adds a new page to the cache.
|
long |
bytes() |
static MetaStore |
create(AlluxioConfiguration conf) |
PageInfo |
evict() |
PageInfo |
getPageInfo(PageId pageId) |
boolean |
hasPage(PageId pageId) |
long |
pages() |
PageInfo |
removePage(PageId pageId)
Removes a page.
|
void |
reset()
Resets the meta store.
|
static MetaStore create(AlluxioConfiguration conf)
conf
- the alluxio configurationboolean hasPage(PageId pageId)
pageId
- page identifiervoid addPage(PageId pageId, PageInfo pageInfo)
pageId
- page identifierpageInfo
- info of the pagePageInfo getPageInfo(PageId pageId) throws PageNotFoundException
pageId
- page identifierPageNotFoundException
PageInfo removePage(PageId pageId) throws PageNotFoundException
pageId
- page identifierPageNotFoundException
long bytes()
long pages()
void reset()
PageInfo evict()
Copyright © 2023. All Rights Reserved.