voldemort.store.readonly.io
Class Native

java.lang.Object
  extended by voldemort.store.readonly.io.Native

public class Native
extends java.lang.Object


Constructor Summary
Native()
           
 
Method Summary
static int getFd(java.io.FileDescriptor descriptor)
           
static java.lang.reflect.Field getProtectedField(java.lang.Class className, java.lang.String fieldName)
          Used to get access to protected/private field of the specified class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Native

public Native()
Method Detail

getProtectedField

public static java.lang.reflect.Field getProtectedField(java.lang.Class className,
                                                        java.lang.String fieldName)
Used to get access to protected/private field of the specified class

Parameters:
className - - name of the class
fieldName - - name of the field
Returns:
Field or null on error

getFd

public static int getFd(java.io.FileDescriptor descriptor)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu