org.elasticsearch.common
Class CacheRecycler

java.lang.Object
  extended by org.elasticsearch.common.CacheRecycler

public class CacheRecycler
extends java.lang.Object


Constructor Summary
CacheRecycler()
           
 
Method Summary
static void clear()
           
static org.elasticsearch.common.trove.map.hash.TByteIntHashMap popByteIntMap()
           
static org.elasticsearch.common.trove.map.hash.TDoubleIntHashMap popDoubleIntMap()
           
static
<T> ExtTDoubleObjectHashMap<T>
popDoubleObjectMap()
           
static org.elasticsearch.common.trove.map.hash.TFloatIntHashMap popFloatIntMap()
           
static
<K,V> ExtTHashMap<K,V>
popHashMap()
           
static int[] popIntArray(int size)
           
static int[] popIntArray(int size, int sentinal)
           
static org.elasticsearch.common.trove.map.hash.TIntIntHashMap popIntIntMap()
           
static org.elasticsearch.common.trove.map.hash.TLongIntHashMap popLongIntMap()
           
static org.elasticsearch.common.trove.map.hash.TLongLongHashMap popLongLongMap()
           
static
<T> ExtTLongObjectHashMap<T>
popLongObjectMap()
           
static java.lang.Object[] popObjectArray(int size)
           
static
<T> org.elasticsearch.common.trove.map.hash.TObjectIntHashMap<T>
popObjectIntMap()
           
static org.elasticsearch.common.trove.map.hash.TShortIntHashMap popShortIntMap()
           
static void pushByteIntMap(org.elasticsearch.common.trove.map.hash.TByteIntHashMap map)
           
static void pushDoubleIntMap(org.elasticsearch.common.trove.map.hash.TDoubleIntHashMap map)
           
static void pushDoubleObjectMap(ExtTDoubleObjectHashMap map)
           
static void pushFloatIntMap(org.elasticsearch.common.trove.map.hash.TFloatIntHashMap map)
           
static void pushHashMap(ExtTHashMap map)
           
static void pushIntArray(int[] ints)
           
static void pushIntArray(int[] ints, int sentinal)
           
static void pushIntIntMap(org.elasticsearch.common.trove.map.hash.TIntIntHashMap map)
           
static void pushLongIntMap(org.elasticsearch.common.trove.map.hash.TLongIntHashMap map)
           
static void pushLongLongMap(org.elasticsearch.common.trove.map.hash.TLongLongHashMap map)
           
static void pushLongObjectMap(ExtTLongObjectHashMap map)
           
static void pushObjectArray(java.lang.Object[] objects)
           
static
<T> void
pushObjectIntMap(org.elasticsearch.common.trove.map.hash.TObjectIntHashMap<T> map)
           
static void pushShortIntMap(org.elasticsearch.common.trove.map.hash.TShortIntHashMap map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheRecycler

public CacheRecycler()
Method Detail

clear

public static void clear()

popHashMap

public static <K,V> ExtTHashMap<K,V> popHashMap()

pushHashMap

public static void pushHashMap(ExtTHashMap map)

popDoubleObjectMap

public static <T> ExtTDoubleObjectHashMap<T> popDoubleObjectMap()

pushDoubleObjectMap

public static void pushDoubleObjectMap(ExtTDoubleObjectHashMap map)

popLongObjectMap

public static <T> ExtTLongObjectHashMap<T> popLongObjectMap()

pushLongObjectMap

public static void pushLongObjectMap(ExtTLongObjectHashMap map)

popLongLongMap

public static org.elasticsearch.common.trove.map.hash.TLongLongHashMap popLongLongMap()

pushLongLongMap

public static void pushLongLongMap(org.elasticsearch.common.trove.map.hash.TLongLongHashMap map)

popIntIntMap

public static org.elasticsearch.common.trove.map.hash.TIntIntHashMap popIntIntMap()

pushIntIntMap

public static void pushIntIntMap(org.elasticsearch.common.trove.map.hash.TIntIntHashMap map)

popFloatIntMap

public static org.elasticsearch.common.trove.map.hash.TFloatIntHashMap popFloatIntMap()

pushFloatIntMap

public static void pushFloatIntMap(org.elasticsearch.common.trove.map.hash.TFloatIntHashMap map)

popDoubleIntMap

public static org.elasticsearch.common.trove.map.hash.TDoubleIntHashMap popDoubleIntMap()

pushDoubleIntMap

public static void pushDoubleIntMap(org.elasticsearch.common.trove.map.hash.TDoubleIntHashMap map)

popByteIntMap

public static org.elasticsearch.common.trove.map.hash.TByteIntHashMap popByteIntMap()

pushByteIntMap

public static void pushByteIntMap(org.elasticsearch.common.trove.map.hash.TByteIntHashMap map)

popShortIntMap

public static org.elasticsearch.common.trove.map.hash.TShortIntHashMap popShortIntMap()

pushShortIntMap

public static void pushShortIntMap(org.elasticsearch.common.trove.map.hash.TShortIntHashMap map)

popLongIntMap

public static org.elasticsearch.common.trove.map.hash.TLongIntHashMap popLongIntMap()

pushLongIntMap

public static void pushLongIntMap(org.elasticsearch.common.trove.map.hash.TLongIntHashMap map)

popObjectIntMap

public static <T> org.elasticsearch.common.trove.map.hash.TObjectIntHashMap<T> popObjectIntMap()

pushObjectIntMap

public static <T> void pushObjectIntMap(org.elasticsearch.common.trove.map.hash.TObjectIntHashMap<T> map)

popObjectArray

public static java.lang.Object[] popObjectArray(int size)

pushObjectArray

public static void pushObjectArray(java.lang.Object[] objects)

popIntArray

public static int[] popIntArray(int size)

popIntArray

public static int[] popIntArray(int size,
                                int sentinal)

pushIntArray

public static void pushIntArray(int[] ints)

pushIntArray

public static void pushIntArray(int[] ints,
                                int sentinal)