See: Description
| Interface | Description |
|---|---|
| DelayedFree |
A Bucket or RandomAccessBuffer that will be freed only after client.dat* is written.
|
| DiskSpaceChecker | |
| FileRandomAccessBufferFactory |
Creates RandomAccessBuffer's from File's.
|
| LineReader | |
| NotPersistentBucket | |
| PersistentFileTracker |
| Class | Description |
|---|---|
| ArrayBucket |
A bucket that stores data in the memory.
|
| ArrayBucketFactory | |
| BaseFileBucket | |
| BitInputStream | |
| BucketArrayWrapper | |
| BucketTools |
Helper functions for working with Buckets.
|
| ByteArrayRandomAccessBuffer | |
| ByteArrayRandomAccessBufferFactory | |
| Closer | Deprecated
Java 7 has a new language feature which mostly does what this class was for:
The try with-resources Statement.
There are some differences with regards to swallowing Exceptions, please study them carefully when replacing Closer usage with it. |
| CountedInputStream | |
| CountedOutputStream | |
| DelayedFreeBucket | |
| DelayedFreeRandomAccessBucket | |
| DelayedFreeRandomAccessBuffer | |
| DiskSpaceCheckingOutputStream | |
| DiskSpaceCheckingRandomAccessBufferFactory | |
| Fallocate |
Provides access to operating system-specific
fallocate and
posix_fallocate functions. |
| FileBucket |
A file Bucket is an implementation of Bucket that writes to a file.
|
| FilenameGenerator |
Tracks the current temporary files settings (dir and prefix), and translates between ID's and
filenames.
|
| FileRandomAccessBuffer | |
| FileUtil | |
| HeaderStreams |
Utilities for manipulating headers on streams.
|
| InetAddressComparator |
Fast non-lexical Comparator for IP addresses for cases where an
attacker might forge IP addresses to try to exhaust a hashtable, so we
need to use a TreeMap, but we don't actually care whether similar IPs
are close together.
|
| LineReadingInputStream |
A FilterInputStream which provides readLine().
|
| MaybeEncryptedRandomAccessBufferFactory |
Wraps another LockableRandomAccessBufferFactory to enable encryption if currently turned on.
|
| MultiReaderBucket |
A wrapper for a read-only bucket providing for multiple readers.
|
| NativeThread |
Do *NOT* forget to call super.run() if you extend it!
|
| NoCloseProxyOutputStream | |
| NoFreeBucket | |
| NullBucket | |
| NullBucketFactory | |
| NullInputStream | |
| NullOutputStream | |
| NullRandomAccessBuffer | |
| NullWriter | |
| PaddedBucket |
Pads a bucket to the next power of 2 file size.
|
| PaddedEphemerallyEncryptedBucket |
A proxy Bucket which adds:
- Encryption with the supplied cipher, and a random, ephemeral key.
|
| PaddedRandomAccessBucket |
Pads a bucket to the next power of 2 file size.
|
| PaddedRandomAccessBuffer | |
| PersistentTempBucketFactory |
Handles persistent temp files.
|
| PersistentTempFileBucket | |
| PooledFileRandomAccessBuffer |
Random access files with a limited number of open files, using a pool.
|
| PooledFileRandomAccessBufferFactory |
Creates temporary RAFs using a FilenameGenerator.
|
| PrependLengthOutputStream |
Write to a temporary Bucket.
|
| RAFBucket | |
| RAFInputStream | |
| RandomAccessFileOutputStream | |
| Readers |
Utility class for all sorts of Readers.
|
| ReadOnlyFileSliceBucket |
FIXME: implement a hash verifying version of this.
|
| ReadOnlyRandomAccessBuffer | |
| SkipShieldingInputStream |
A wrapper that overwrites
SkipShieldingInputStream.skip(long) and delegates to FilterInputStream.read() instead. |
| TempBucketFactory |
Temporary Bucket Factory
Buckets created by this factory can be either:
- ArrayBuckets
OR
- FileBuckets
ArrayBuckets are used if and only if:
1) there is enough room remaining on the pool (@see maxRamUsed and @see bytesInUse)
2) the initial size is smaller than (@maxRAMBucketSize)
Depending on how they are used they might switch from one type to another transparently.
|
| TempFileBucket |
Temporary file handling.
|
| ZeroInputStream |
| Enum | Description |
|---|---|
| FileUtil.CPUArchitecture | |
| FileUtil.OperatingSystem | |
| NativeThread.PriorityLevel |
| Exception | Description |
|---|---|
| FileDoesNotExistException |
Thrown when a temp file disappears before we try to use it.
|
| FileExistsException |
Thrown when a FileBucket is required to create a new file but not overwrite an existing file,
and the file exists.
|
| InsufficientDiskSpaceException | |
| ReadOnlyFileSliceBucket.ReadOnlyFileSliceBucketException | |
| ResumeFailedException | |
| StorageFormatException |
Thrown when the file being loaded appears not to be a stored splitfile or other request.
|
| TooLongException |
Exception thrown by a LineReadingInputStream when a line is too long.
|