|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IReopenChannel | |
|---|---|
| com.bigdata.io | |
| com.bigdata.io.writecache | Low-level write cache service. |
| com.bigdata.journal | The journal is an append-only persistence capable data structure supporting atomic commit, named indices, and transactions. |
| com.bigdata.rwstore | |
| Uses of IReopenChannel in com.bigdata.io |
|---|
| Classes in com.bigdata.io that implement IReopenChannel | |
|---|---|
class |
NOPReopener
Implementation that will not re-open the FileChannel once it has been
closed. |
| Methods in com.bigdata.io with parameters of type IReopenChannel | |
|---|---|
static int |
FileChannelUtility.readAll(IReopenChannel<FileChannel> opener,
ByteBuffer src,
long pos)
Reads Buffer.remaining() bytes into the caller's
ByteBuffer from the channel starting at offset pos. |
static int |
FileChannelUtility.writeAll(IReopenChannel<FileChannel> opener,
ByteBuffer data,
long pos)
Write bytes in data from the position to the limit on the channel starting at pos. |
| Uses of IReopenChannel in com.bigdata.io.writecache |
|---|
| Fields in com.bigdata.io.writecache declared as IReopenChannel | |
|---|---|
IReopenChannel<FileChannel> |
WriteCache.FileChannelWriteCache.opener
Used to re-open the FileChannel in this class. |
| Methods in com.bigdata.io.writecache with parameters of type IReopenChannel | |
|---|---|
int |
BufferedWrite.flush(IReopenChannel<FileChannel> opener)
Flush buffered data to the backing channel. |
abstract WriteCache |
WriteCacheService.newWriteCache(IBufferAccess buf,
boolean useChecksum,
boolean bufferHasData,
IReopenChannel<? extends Channel> opener)
Factory for WriteCache implementations. |
int |
BufferedWrite.write(long offset,
ByteBuffer data,
IReopenChannel<FileChannel> opener)
Buffer a write. |
| Constructors in com.bigdata.io.writecache with parameters of type IReopenChannel | |
|---|---|
WriteCache.FileChannelScatteredWriteCache(IBufferAccess buf,
boolean useChecksum,
boolean isHighlyAvailable,
boolean bufferHasData,
IReopenChannel<FileChannel> opener,
BufferedWrite bufferedWrite)
|
|
WriteCache.FileChannelWriteCache(long baseOffset,
IBufferAccess buf,
boolean useChecksum,
boolean isHighlyAvailable,
boolean bufferHasData,
IReopenChannel<FileChannel> opener)
|
|
WriteCacheService(int nbuffers,
boolean useChecksum,
long fileExtent,
IReopenChannel<? extends Channel> opener,
Quorum quorum)
Allocates N buffers from the DirectBufferPool. |
|
| Uses of IReopenChannel in com.bigdata.journal |
|---|
| Fields in com.bigdata.journal declared as IReopenChannel | |
|---|---|
protected IReopenChannel<FileChannel> |
DiskBackedBufferStrategy.opener
Used to re-open the FileChannel in this class. |
| Constructors in com.bigdata.journal with parameters of type IReopenChannel | |
|---|---|
RootBlockUtility(IReopenChannel<FileChannel> opener,
File file,
boolean validateChecksum,
boolean alternateRootBlock,
boolean ignoreBadRootBlock)
|
|
| Uses of IReopenChannel in com.bigdata.rwstore |
|---|
| Methods in com.bigdata.rwstore with parameters of type IReopenChannel | |
|---|---|
WriteCache |
RWWriteCacheService.newWriteCache(IBufferAccess buf,
boolean useChecksum,
boolean bufferHasData,
IReopenChannel<? extends Channel> opener)
Provide default FileChannelScatteredWriteCache |
| Constructors in com.bigdata.rwstore with parameters of type IReopenChannel | |
|---|---|
RWWriteCacheService(int nbuffers,
long fileExtent,
IReopenChannel<? extends Channel> opener,
Quorum quorum)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||