Example usage for org.apache.hadoop.util IdentityHashStore IdentityHashStore

List of usage examples for org.apache.hadoop.util IdentityHashStore IdentityHashStore

Introduction

In this page you can find the example usage for org.apache.hadoop.util IdentityHashStore IdentityHashStore.

Prototype

public IdentityHashStore(int capacity) 

Source Link

Usage

From source file:com.mellanox.r4h.DFSInputStream.java

License:Apache License

private synchronized IdentityHashStore<ByteBuffer, Object> getExtendedReadBuffers() {
    if (extendedReadBuffers == null) {
        extendedReadBuffers = new IdentityHashStore<ByteBuffer, Object>(0);
    }//from  w ww.j  ava 2  s.  c o m
    return extendedReadBuffers;
}