org.teiid.common.buffer.impl
Class FileStorageManager.DiskStore
java.lang.Object
org.teiid.common.buffer.FileStore
org.teiid.common.buffer.impl.FileStorageManager.DiskStore
- Enclosing class:
- FileStorageManager
public class FileStorageManager.DiskStore
- extends FileStore
Method Summary |
int |
readDirect(long fileOffset,
byte[] b,
int offSet,
int length)
Concurrent reads are possible, but only after writing is complete. |
void |
removeDirect()
|
void |
writeDirect(byte[] bytes,
int offset,
int length)
Concurrent writes are prevented by FileStore, but in general should not happen since processing is single threaded. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileStorageManager.DiskStore
public FileStorageManager.DiskStore(java.lang.String name)
readDirect
public int readDirect(long fileOffset,
byte[] b,
int offSet,
int length)
throws TeiidComponentException
- Concurrent reads are possible, but only after writing is complete.
- Specified by:
readDirect
in class FileStore
- Throws:
TeiidComponentException
writeDirect
public void writeDirect(byte[] bytes,
int offset,
int length)
throws TeiidComponentException
- Concurrent writes are prevented by FileStore, but in general should not happen since processing is single threaded.
- Specified by:
writeDirect
in class FileStore
- Throws:
TeiidComponentException
removeDirect
public void removeDirect()
- Specified by:
removeDirect
in class FileStore
Copyright © 2010. All Rights Reserved.