public int capacity() {
        return capacity;
    }
Returns the cache capacity.
@return the cache capacity
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/SoftCache.java