|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Buffer | |
---|---|
simpledb.buffer | |
simpledb.tx | |
simpledb.tx.recovery |
Uses of Buffer in simpledb.buffer |
---|
Methods in simpledb.buffer that return Buffer | |
---|---|
Buffer |
BufferMgr.pin(Block blk)
Pins a buffer to the specified block, potentially waiting until a buffer becomes available. |
(package private) Buffer |
BasicBufferMgr.pin(Block blk)
Pins a buffer to the specified block. |
Buffer |
BufferMgr.pinNew(java.lang.String filename,
PageFormatter fmtr)
Pins a buffer to a new block in the specified file, potentially waiting until a buffer becomes available. |
(package private) Buffer |
BasicBufferMgr.pinNew(java.lang.String filename,
PageFormatter fmtr)
Allocates a new block in the specified file, and pins a buffer to it. |
Methods in simpledb.buffer with parameters of type Buffer | |
---|---|
void |
BufferMgr.unpin(Buffer buff)
Unpins the specified buffer. |
(package private) void |
BasicBufferMgr.unpin(Buffer buff)
Unpins the specified buffer. |
Uses of Buffer in simpledb.tx |
---|
Methods in simpledb.tx that return Buffer | |
---|---|
(package private) Buffer |
BufferList.getBuffer(Block blk)
Returns the buffer pinned to the specified block. |
Uses of Buffer in simpledb.tx.recovery |
---|
Methods in simpledb.tx.recovery with parameters of type Buffer | |
---|---|
int |
RecoveryMgr.setInt(Buffer buff,
int offset,
int newval)
Writes a setint record to the log, and returns its lsn. |
int |
RecoveryMgr.setString(Buffer buff,
int offset,
java.lang.String newval)
Writes a setstring record to the log, and returns its lsn. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |