Package com.xuggle.ferry

Package class diagram package com.xuggle.ferry
A collection of classes that ferry objects from Java to native code and back, and manage native memory.

See:
          Description

Class Summary
AtomicInteger Internal only.
Ferry Internal Only.
IBuffer Allows Java code to get data from a native buffers, and optionally modify native memory directly.
JNILibraryLoader Internal Only.
JNIMemoryAllocator Internal Only.
JNIMemoryManager Manages the native memory that Ferry objects allocate and destroy.
JNINativeFinalizer Internal Only.
JNIPointerReference Internal Only.
JNIReference Returned by IBuffer.getByteBuffer(int, int, java.util.concurrent.atomic.AtomicReference) for users that want to explicitly manage when the returned ByteBuffer is released.
Logger Internal Only
Mutex Internal Only.
NativeLogger Internal Only.
RefCounted Parent of all Ferry objects -- it mains reference counts in native code.
RefCountedTester Internal Only.
 

Enum Summary
IBuffer.Type  
JNIMemoryManager.MemoryModel The different types of native memory allocation models Ferry supports.
Logger.Level  
 

Package com.xuggle.ferry Description

A collection of classes that ferry objects from Java to native code and back, and manage native memory.

This package contains a variety of classes used by Xuggler to manage communication between Java and and Native Code.

Classes and methods marked "Internal Only" are not meant for usage by anyone outside these libraries. They are public members only because they need to be for other Xuggler packages to use them -- don't go calling methods on these objects from outside Xuggler as you can quickly bring down the Java virtual machine if you don't know what you're doing.

Tuning Ferry (And Xuggler) Memory Management

A complicated subject, but if you're ready for it, take a look at the JNIMemoryManager object and start reading.



Copyright © 2008, 2010 Xuggle