public class FileStorageManager extends Object implements StorageManager
| Modifier and Type | Class and Description |
|---|---|
class |
FileStorageManager.DiskStore |
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_MAX_BUFFERSPACE |
static int |
DEFAULT_MAX_OPEN_FILES |
| Constructor and Description |
|---|
FileStorageManager() |
| Modifier and Type | Method and Description |
|---|---|
FileStore |
createFileStore(String name) |
String |
getDirectory() |
long |
getMaxStorageSpace() |
int |
getOpenFiles() |
long |
getUsedBufferSpace()
Get the used buffer space in bytes
|
void |
initialize()
Initialize
|
void |
setMaxBufferSpace(long maxBufferSpace)
Set the max amount of buffer space in bytes
|
void |
setMaxOpenFiles(int maxOpenFiles) |
void |
setStorageDirectory(String directory) |
public static final int DEFAULT_MAX_OPEN_FILES
public static final long DEFAULT_MAX_BUFFERSPACE
public void initialize()
throws TeiidComponentException
initialize in interface StorageManagerTeiidComponentExceptionpublic void setMaxOpenFiles(int maxOpenFiles)
public void setStorageDirectory(String directory)
public FileStore createFileStore(String name)
createFileStore in interface StorageManagerpublic String getDirectory()
public int getOpenFiles()
public long getUsedBufferSpace()
public void setMaxBufferSpace(long maxBufferSpace)
maxBufferSpace - public long getMaxStorageSpace()
getMaxStorageSpace in interface StorageManagerCopyright © 2018 JBoss by Red Hat. All rights reserved.