Class Paging
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.top.Paging
Utility class for paging for the metrics.
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
arrowUp()
int
int
int
void
init()
private void
void
pageDown()
void
pageUp()
void
updatePageSize
(int pageSize) void
updateRecordsSize
(int recordsSize)
-
Field Details
-
currentPosition
-
pageStartPosition
-
pageEndPosition
-
pageSize
-
recordsSize
-
-
Constructor Details
-
Paging
public Paging()
-
-
Method Details
-
init
-
updatePageSize
-
updateRecordsSize
-
arrowUp
-
arrowDown
-
pageUp
-
pageDown
-
keepConsistent
-
getCurrentPosition
-
getPageStartPosition
-
getPageEndPosition
-