| Modifier and Type | Method and Description |
|---|---|
FileStore |
create()
/**
Create a new
FileStore instance with the settings specified in this
builder. |
FileStore.Builder |
withBlobStore(BlobStore blobStore)
Specify the
BlobStore. |
FileStore.Builder |
withCacheSize(int cacheSize)
Size of the cache in MB.
|
FileStore.Builder |
withDefaultMemoryMapping()
Set memory mapping to the default value based on OS properties
|
FileStore.Builder |
withGCMonitor(GCMonitor gcMonitor)
GCMonitor for monitoring this files store's gc process. |
FileStore.Builder |
withMaxFileSize(int maxFileSize)
Maximal size of the generated tar files in MB.
|
FileStore.Builder |
withMemoryMapping(boolean memoryMapping)
Turn memory mapping on or off
|
FileStore.Builder |
withNoCache()
Turn caching off
|
FileStore.Builder |
withRoot(NodeState root)
Specify the initial root node state for the file store
|
FileStore.Builder |
withStatisticsProvider(StatisticsProvider statisticsProvider)
StatisticsProvider for collecting statistics related to FileStore |
public FileStore.Builder withBlobStore(BlobStore blobStore)
BlobStore.blobStore - public FileStore.Builder withRoot(NodeState root)
root - public FileStore.Builder withMaxFileSize(int maxFileSize)
maxFileSize - public FileStore.Builder withCacheSize(int cacheSize)
cacheSize - public FileStore.Builder withNoCache()
public FileStore.Builder withMemoryMapping(boolean memoryMapping)
memoryMapping - public FileStore.Builder withDefaultMemoryMapping()
public FileStore.Builder withGCMonitor(GCMonitor gcMonitor)
GCMonitor for monitoring this files store's gc process.gcMonitor - public FileStore.Builder withStatisticsProvider(StatisticsProvider statisticsProvider)
StatisticsProvider for collecting statistics related to FileStorestatisticsProvider - public FileStore create() throws java.io.IOException
FileStore instance with the settings specified in this
builder. If none of the with methods have been called before calling
this method, a file store with the following default settings is returned:
GCMonitor trackingjava.io.IOException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"