Class CloseChecker
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.CloseChecker
Check periodically to see if a system stop is requested
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSizeLimit
(Store store, long bytesWritten) Check periodically to see if a system stop is requested every written bytes reach size limit.boolean
isTimeLimit
(Store store, long now) Check periodically to see if a system stop is requested every time.
-
Field Details
-
SIZE_LIMIT_KEY
- See Also:
-
TIME_LIMIT_KEY
- See Also:
-
closeCheckSizeLimit
-
closeCheckTimeLimit
-
bytesWrittenProgressForCloseCheck
-
lastCloseCheckMillis
-
-
Constructor Details
-
CloseChecker
-
-
Method Details
-
isSizeLimit
Check periodically to see if a system stop is requested every written bytes reach size limit.- Returns:
- if true, system stop.
-
isTimeLimit
Check periodically to see if a system stop is requested every time.- Returns:
- if true, system stop.
-