@ThreadSafe public class PageInfo extends Object
Constructor and Description |
---|
PageInfo(PageId pageId,
long pageSize,
CacheScope cacheScope,
PageStoreDir pageStoreDir) |
PageInfo(PageId pageId,
long pageSize,
CacheScope cacheScope,
PageStoreDir pageStoreDir,
long createdTimestamp) |
PageInfo(PageId pageId,
long pageSize,
PageStoreDir pageStoreDir) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCreatedTimestamp() |
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 PageInfo(PageId pageId, long pageSize, CacheScope cacheScope, PageStoreDir pageStoreDir, long createdTimestamp)
pageId
- page idpageSize
- page size in bytescacheScope
- scope of this pagepageStoreDir
- directory of this pagecreatedTimestamp
- created timepublic PageId getPageId()
public long getPageSize()
public CacheScope getScope()
public PageStoreDir getLocalCacheDir()
public long getCreatedTimestamp()
Copyright © 2023. All Rights Reserved.