Searched defs:object (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/
H A DTemporaryObjectAllocator.java23 * An TemporaryObjectAllocator is an object which manages large, reusable,
52 * threads ask for an allocation, all of them will get an object, even if
60 * In particular, when maxObjects=0, this object behaves as a trivial
68 * Subclasses must override this method to actually create a new object
75 * Subclasses must override this method to clear an existing object of
79 protected abstract void clear(T object); argument
82 * Allocate a new object. If there's a previously allocated object in our
83 * pool, we return it immediately. Otherwise, a new object is allocated.
85 * Don't forget to call {@link #free(Object)} when you're done with the object,
108 free(T object) argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DCloseableThreadLocal.java93 public void set(T object) { argument
95 t.set(new WeakReference<T>(object));
98 hardRefs.put(Thread.currentThread(), object);
H A DRamUsageEstimator.java34 * will be counted as any other object and count for memory usage.
91 * Number of bytes this jvm uses to represent an object reference.
96 * Number of bytes to represent an object header (no fields, no alignments).
106 * A constant specifying the object alignment boundary inside the JVM. Objects will
150 // The following is objectHeader + NUM_BYTES_INT, but aligned (object alignment)
168 // get object reference size by getting scale factor of Object[] arrays:
182 // get the object header size:
184 // - get the object header size by getting the field offset of the first field of a dummy object
220 // Try to get the object alignmen
600 humanSizeOf(Object object) argument
[all...]

Completed in 15 milliseconds