@ThreadSafe public class PageInfo extends Object
Constructor and Description |
---|
PageInfo(PageId pageId,
long pageSize,
CacheScope cacheScope,
PageStoreDir pageStoreDir) |
PageInfo(PageId pageId,
long pageSize,
PageStoreDir pageStoreDir) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PageStoreDir |
getLocalCacheDir() |
PageId |
getPageId() |
long |
getPageSize() |
CacheScope |
getScope() |
int |
hashCode() |
String |
toString() |
public PageInfo(PageId pageId, long pageSize, PageStoreDir pageStoreDir)
pageId
- page idpageSize
- page size in bytespageStoreDir
- directory of this pagepublic PageInfo(PageId pageId, long pageSize, CacheScope cacheScope, PageStoreDir pageStoreDir)
pageId
- page idpageSize
- page size in bytescacheScope
- scope of this pagepageStoreDir
- directory of this pagepublic PageId getPageId()
public long getPageSize()
public CacheScope getScope()
public PageStoreDir getLocalCacheDir()
Copyright © 2023. All Rights Reserved.