public class FileAccessParameter extends Object
Constructor and Description |
---|
FileAccessParameter() |
Modifier and Type | Method and Description |
---|---|
File |
getFile() |
EnumFileAccessMode |
getFileAccessMode() |
int |
getMaxBufferSize() |
int |
getMaxNumberOfBuffer() |
int |
getMaxPage() |
int |
getMaxRetry() |
int |
getPageSize() |
int |
getRetryMsDelay() |
boolean |
isUseCache() |
boolean |
isUseReadCache() |
void |
setFile(File file) |
void |
setFileAccessMode(EnumFileAccessMode fileAccessMode) |
void |
setMaxBufferSize(int maxBufferSize) |
void |
setMaxNumberOfBuffer(int maxNumberOfBuffer) |
void |
setMaxPage(int maxPage) |
void |
setMaxRetry(int maxRetry) |
void |
setPageSize(int pageSize) |
void |
setRetryMsDelay(int retryMsDelay) |
void |
setUseCache(boolean useCache) |
void |
setUseReadCache(boolean useReadCache) |
public void setFileAccessMode(EnumFileAccessMode fileAccessMode)
public EnumFileAccessMode getFileAccessMode() throws HeapException
HeapException
public void setFile(File file)
public File getFile() throws HeapException
HeapException
public void setMaxRetry(int maxRetry)
public int getMaxRetry() throws HeapException
HeapException
public void setRetryMsDelay(int retryMsDelay)
public int getRetryMsDelay() throws HeapException
HeapException
public void setUseCache(boolean useCache)
public boolean isUseCache() throws HeapException
HeapException
public void setUseReadCache(boolean useReadCache)
public boolean isUseReadCache() throws HeapException
HeapException
public void setPageSize(int pageSize)
public int getPageSize() throws HeapException
HeapException
public void setMaxPage(int maxPage)
public int getMaxPage() throws HeapException
HeapException
public void setMaxBufferSize(int maxBufferSize)
public int getMaxBufferSize() throws HeapException
HeapException
public void setMaxNumberOfBuffer(int maxNumberOfBuffer)
public int getMaxNumberOfBuffer() throws HeapException
HeapException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.