com.kenai.jaffl.provider
Interface MemoryManager

All Known Implementing Classes:
MemoryManager

public interface MemoryManager

Manages access to various types of java and native memory.


Method Summary
 MemoryIO allocate(int size)
           
 MemoryIO allocateDirect(int size)
           
 MemoryIO allocateDirect(int size, boolean clear)
           
 Pointer getBufferPointer(Buffer buffer)
           
 MemoryIO wrap(ByteBuffer buffer)
           
 MemoryIO wrap(Pointer address)
           
 MemoryIO wrap(Pointer address, int size)
           
 

Method Detail

allocate

MemoryIO allocate(int size)

allocateDirect

MemoryIO allocateDirect(int size)

allocateDirect

MemoryIO allocateDirect(int size,
                        boolean clear)

wrap

MemoryIO wrap(Pointer address)

wrap

MemoryIO wrap(Pointer address,
              int size)

wrap

MemoryIO wrap(ByteBuffer buffer)

getBufferPointer

Pointer getBufferPointer(Buffer buffer)


Copyright © 2011. All Rights Reserved.