public final class RamFileSystemConfigBuilder extends FileSystemConfigBuilder
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends FileSystem> |
getConfigClass()
Get the target of this configuration.
|
static RamFileSystemConfigBuilder |
getInstance()
Gets the singleton builder.
|
long |
getLongMaxSize(FileSystemOptions opts)
Defaults to
Integer.MAX_VALUE. |
int |
getMaxSize(FileSystemOptions opts)
Defaults to
Integer.MAX_VALUE. |
void |
setMaxSize(FileSystemOptions opts,
int sizeInBytes)
Deprecated.
|
void |
setMaxSize(FileSystemOptions opts,
long sizeInBytes)
Sets the maximum size of the file system.
|
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURIpublic static RamFileSystemConfigBuilder getInstance()
protected Class<? extends FileSystem> getConfigClass()
getConfigClass in class FileSystemConfigBuilderpublic long getLongMaxSize(FileSystemOptions opts)
Integer.MAX_VALUE.opts - The FileSystem options.setMaxSize(FileSystemOptions, long)public int getMaxSize(FileSystemOptions opts)
Integer.MAX_VALUE.opts - The FileSystem options.setMaxSize(FileSystemOptions, int)@Deprecated public void setMaxSize(FileSystemOptions opts, int sizeInBytes)
setMaxSize(FileSystemOptions, long)opts - The FileSystem options.sizeInBytes - The maximum file size.public void setMaxSize(FileSystemOptions opts, long sizeInBytes)
opts - The FileSystem options.sizeInBytes - The maximum file size.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.