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