All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.carrotsearch.hppc.Accountable Maven / Gradle / Ivy

Go to download

High Performance Primitive Collections: data structures (maps, sets, lists, stacks, queues) generated for combinations of object and primitive types to conserve JVM memory and speed up execution.

There is a newer version: 0.10.0
Show newest version
/*
 * HPPC
 *
 * Copyright (C) 2010-2020 Carrot Search s.c.
 * All rights reserved.
 *
 * Refer to the full license file "LICENSE.txt":
 * https://github.com/carrotsearch/hppc/blob/master/LICENSE.txt
 */
package com.carrotsearch.hppc;

/**
 * Anything that could be accounted for memory usage
 *
 * 

Partly forked from Lucene tag releases/lucene-solr/8.5.1 */ public interface Accountable { /** * Allocated memory estimation * * @return Ram allocated in bytes */ long ramBytesAllocated(); /** * Bytes that is actually been used * * @return Ram used in bytes */ long ramBytesUsed(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy