java.nio
Class DirectByteBuffer.Deallocator

java.lang.Object
  extended byjava.nio.DirectByteBuffer.Deallocator
All Implemented Interfaces:
Runnable
Enclosing class:
DirectByteBuffer

private static class DirectByteBuffer.Deallocator
extends Object
implements Runnable


Field Summary
private  long address
           
private  int capacity
           
private static sun.misc.Unsafe unsafe
           
 
Constructor Summary
private DirectByteBuffer.Deallocator(long address, int capacity)
           
 
Method Summary
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unsafe

private static sun.misc.Unsafe unsafe

address

private long address

capacity

private int capacity
Constructor Detail

DirectByteBuffer.Deallocator

private DirectByteBuffer.Deallocator(long address,
                                     int capacity)
Method Detail

run

public void run()
Description copied from interface: Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface Runnable
See Also:
Thread.run()