public interface ISqlJetMemoryManager
ISqlJetMemoryBuffer
.Modifier and Type | Field and Description |
---|---|
static int |
BYTE_SIZE |
static int |
INT_SIZE |
static int |
LONG_SIZE |
static int |
SHORT_SIZE |
Modifier and Type | Method and Description |
---|---|
ISqlJetMemoryBuffer |
allocate(int size)
Allocates memory chunk
ISqlJetMemoryBuffer using default buffer
type. |
ISqlJetMemoryBuffer |
allocate(int size,
SqlJetMemoryBufferType bufferType) |
ISqlJetMemoryPointer |
allocatePtr(int size)
Allocates memory chunk
ISqlJetMemoryBuffer using default buffer
type. |
ISqlJetMemoryPointer |
allocatePtr(int size,
SqlJetMemoryBufferType bufferType) |
void |
free(ISqlJetMemoryBuffer buffer)
Fries memory.
|
SqlJetMemoryBufferType |
getDefaultBufferType()
Get buffers implementation type which is used by default.
|
void |
setDefaultBufferType(SqlJetMemoryBufferType bufferType)
Get buffers implementation which is used by default.
|
static final int BYTE_SIZE
static final int SHORT_SIZE
static final int INT_SIZE
static final int LONG_SIZE
SqlJetMemoryBufferType getDefaultBufferType()
void setDefaultBufferType(SqlJetMemoryBufferType bufferType)
bufferType
- ISqlJetMemoryBuffer allocate(int size)
ISqlJetMemoryBuffer
using default buffer
type.size
- size of buffer in bytesISqlJetMemoryBuffer allocate(int size, SqlJetMemoryBufferType bufferType)
size
- bufferType
- ISqlJetMemoryPointer allocatePtr(int size)
ISqlJetMemoryBuffer
using default buffer
type.size
- size of buffer in bytesISqlJetMemoryPointer allocatePtr(int size, SqlJetMemoryBufferType bufferType)
size
- bufferType
- void free(ISqlJetMemoryBuffer buffer)
buffer
- buffCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.