Package org.apache.hadoop.hbase.io
Interface WritableWithSize
An optional interface to 'size' writables.
-
Method Summary
-
Method Details
-
getWritableSize
long getWritableSize()Provide a size hint to the caller. write() should ideally not go beyond this if at all possible. You can return 0 if there is no size hint.- Returns:
- the size of the writable
-