public class DefaultBinaryManager extends LocalBinaryManager implements BinaryManagerStreamSupport
A garbage collection is needed to purge unused binaries.
The format of the binaries directory is:
LocalBinaryManager
instead to make use of a
scrambler.LocalBinaryManager.DefaultBinaryGarbageCollector
AbstractBinaryManager.NullBinaryScrambler, AbstractBinaryManager.ScrambledBinary, AbstractBinaryManager.ScrambledFileInputStream, AbstractBinaryManager.ScrambledStreamSource
CONFIG_FILE, DATA, DEFAULT_PATH, TMP
DEFAULT_DEPTH, DEFAULT_DIGEST, MAX_BUF_SIZE, MIN_BUF_SIZE
Constructor and Description |
---|
DefaultBinaryManager() |
Modifier and Type | Method and Description |
---|---|
Binary |
getBinary(FileSource source) |
close, getBinary, getBinary, getFileForDigest, getStorageDir, initialize, touch
getGarbageCollector, toHexString
public Binary getBinary(FileSource source) throws IOException
getBinary
in interface BinaryManagerStreamSupport
IOException
Copyright © 2014 Nuxeo SA. All rights reserved.