public class NullBucketFactory extends java.lang.Object implements BucketFactory
| Constructor and Description |
|---|
NullBucketFactory() |
| Modifier and Type | Method and Description |
|---|---|
RandomAccessBucket |
makeBucket(long size)
Create a bucket.
|
public RandomAccessBucket makeBucket(long size) throws java.io.IOException
BucketFactorymakeBucket in interface BucketFactorysize - 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