public interface BucketFactory
Modifier and Type | Method and Description |
---|---|
RandomAccessBucket |
makeBucket(long size)
Create a bucket.
|
RandomAccessBucket makeBucket(long size) throws java.io.IOException
size
- The maximum size of the data, or -1 or Long.MAX_VALUE if we don't know.
Some buckets will throw IOException if you go over this length.java.io.IOException