http://git-wip-us.apache.org/repos/asf/hbase-site/blob/476c54ed/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html b/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html index ec71b82..d5c3ea8 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html @@ -7823,107 +7823,128 @@ service.</div> </tr> <tbody> <tr class="altColor"> +<td class="colFirst"><code>(package private) com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.SnapshotWithSize</a>></code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#computeSnapshotSizes-com.google.common.collect.Multimap-">computeSnapshotSizes</a></span>(com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> snapshotsToComputeSize)</code> +<div class="block">Computes the size of each snapshot provided given the current files referenced by the table.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas">SpaceViolationPolicyEnforcement</a>></code></td> <td class="colLast"><span class="typeNameLabel">RegionServerSpaceQuotaManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/RegionServerSpaceQuotaManager.html#copyActiveEnforcements--">copyActiveEnforcements</a></span>()</code> <div class="block">Returns the collection of tables which have quota violation policies enforced on this RegionServer.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>></code></td> <td class="colLast"><span class="typeNameLabel">RegionServerSpaceQuotaManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/RegionServerSpaceQuotaManager.html#copyQuotaSnapshots--">copyQuotaSnapshots</a></span>()</code> <div class="block">Copies the last <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshot</code></a>s that were recorded.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>></code></td> <td class="colLast"><span class="typeNameLabel">SpaceQuotaRefresherChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaRefresherChore.html#fetchSnapshotsFromQuotaTable--">fetchSnapshotsFromQuotaTable</a></span>()</code> <div class="block">Reads all quota snapshots from the quota table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaState.html" title="class in org.apache.hadoop.hbase.quotas">QuotaState</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaUtil.html#fetchTableQuotas-org.apache.hadoop.hbase.client.Connection-java.util.List-">fetchTableQuotas</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#filterInsufficientlyReportedTables-org.apache.hadoop.hbase.quotas.QuotaSnapshotStore-">filterInsufficientlyReportedTables</a></span>(<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSnapshotStore.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaSnapshotStore</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>> tableStore)</code> <div class="block">Filters out all tables for which the Master currently doesn't have enough region space reports received from RegionServers yet.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>></code></td> <td class="colLast"><span class="typeNameLabel">RegionServerSpaceQuotaManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/RegionServerSpaceQuotaManager.html#getActivePoliciesAsMap--">getActivePoliciesAsMap</a></span>()</code> <div class="block">Converts a map of table to <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas"><code>SpaceViolationPolicyEnforcement</code></a>s into <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicy.html" title="enum in org.apache.hadoop.hbase.quotas"><code>SpaceViolationPolicy</code></a>s.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas">SpaceViolationPolicyEnforcement</a>></code></td> <td class="colLast"><span class="typeNameLabel">ActivePolicyEnforcement.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/ActivePolicyEnforcement.html#getLocallyCachedPolicies--">getLocallyCachedPolicies</a></span>()</code> <div class="block">Returns an unmodifiable version of the policy enforcements that were cached because they are not in violation of their quota.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getMasterReportedTableSizes-org.apache.hadoop.hbase.client.Connection-">getMasterReportedTableSizes</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn)</code> <div class="block">Fetches the table sizes on the filesystem as tracked by the HBase Master.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#getNamespaceQuotaTables--">getNamespaceQuotaTables</a></span>()</code> <div class="block">Returns an unmodifiable view of all tables in namespaces that have namespace quotas.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas">SpaceViolationPolicyEnforcement</a>></code></td> <td class="colLast"><span class="typeNameLabel">ActivePolicyEnforcement.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/ActivePolicyEnforcement.html#getPolicies--">getPolicies</a></span>()</code> <div class="block">Returns an unmodifiable version of the active <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas"><code>SpaceViolationPolicyEnforcement</code></a>s.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getRegionServerQuotaSnapshots-org.apache.hadoop.hbase.client.Connection-org.apache.hadoop.hbase.ServerName-">getRegionServerQuotaSnapshots</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn, <a href="../../../../../org/apache/hadoop/hbase/ServerName.html" title="class in org.apache.hadoop.hbase">ServerName</a> regionServer)</code> <div class="block">Fetches the observed <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshot</code></a>s observed by a RegionServer.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getSnapshots-org.apache.hadoop.hbase.client.Connection-">getSnapshots</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> conn)</code> <div class="block">Fetches all <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshot</code></a> objects from the <code>hbase:quota</code> table.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getSnapshotsFromTables-org.apache.hadoop.hbase.client.Admin-java.util.Set-">getSnapshotsFromTables</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client">Admin</a> admin, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>> tablesToFetchSnapshotsFrom)</code> +<div class="block">Computes a mapping of originating <code>TableName</code> to snapshots, when the <code>TableName</code> + exists in the provided <code>Set</code>.</div> +</td> +</tr> <tr class="altColor"> +<td class="colFirst"><code>(package private) com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getSnapshotsToComputeSize--">getSnapshotsToComputeSize</a></span>()</code> +<div class="block">Fetches each table with a quota (table or namespace quota), and then fetch the name of each + snapshot which was created from that table.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaState.html" title="class in org.apache.hadoop.hbase.quotas">QuotaState</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaCache.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaCache.html#getTableQuotaCache--">getTableQuotaCache</a></span>()</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.html#getTableQuotaSnapshots--">getTableQuotaSnapshots</a></span>()</code> <div class="block">Returns an unmodifiable view over the current <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshot</code></a> objects for each HBase table with a quota defined.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#getTableQuotaTables--">getTableQuotaTables</a></span>()</code> <div class="block">Returns an unmodifiable view of all tables with table quotas.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>com.google.common.collect.Multimap<<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#getTablesByNamespace--">getTablesByNamespace</a></span>()</code> <div class="block">Returns a view of all tables that reside in a namespace with a namespace quota, grouped by the namespace itself.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>(package private) <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSnapshotStore.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaSnapshotStore</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.html#getTableSnapshotStore--">getTableSnapshotStore</a></span>()</code> </td> </tr> @@ -7988,13 +8009,26 @@ service.</div> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></td> -<td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#createPutSpaceSnapshot-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">createPutSpaceSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, - <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> snapshot)</code> +<td class="colFirst"><code>(package private) static <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></td> +<td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#createPutForSnapshotSize-org.apache.hadoop.hbase.TableName-java.lang.String-long-">createPutForSnapshotSize</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> snapshot, + long size)</code> +<div class="block">Creates a <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> to persist the current size of the <code>snapshot</code> with respect to + the given <code>table</code>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a></code></td> +<td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#createPutForSpaceSnapshot-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">createPutForSpaceSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, + <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> snapshot)</code> <div class="block">Creates a <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> to store the given <code>snapshot</code> for the given <code>tableName</code> in the quota table.</div> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></code></td> +<td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#createScanForSnapshotSizes-org.apache.hadoop.hbase.TableName-">createScanForSnapshotSizes</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> </td> +</tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas">SpaceViolationPolicyEnforcement</a></code></td> <td class="colLast"><span class="typeNameLabel">SpaceViolationPolicyEnforcementFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcementFactory.html#createWithoutViolation-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">createWithoutViolation</a></span>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rss, @@ -8131,67 +8165,103 @@ service.</div> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getSettingsQualifierForUserTable-org.apache.hadoop.hbase.TableName-">getSettingsQualifierForUserTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>(package private) long</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getSizeOfStoreFile-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SnapshotQuotaObserverChore.StoreFileReference-">getSizeOfStoreFile</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn, + <a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.StoreFileReference</a> storeFileName)</code> +<div class="block">Computes the size of the store files for a single region.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) long</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getSizeOfStoreFile-org.apache.hadoop.hbase.TableName-java.lang.String-java.lang.String-java.lang.String-">getSizeOfStoreFile</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> regionName, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> storeFile)</code> +<div class="block">Computes the size of the store file given its name, region and family name in + the archive directory.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) long</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getSizeOfStoreFiles-org.apache.hadoop.hbase.TableName-java.util.Set-">getSizeOfStoreFiles</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.StoreFileReference</a>> storeFileNames)</code> +<div class="block">Computes the size of each store file in <code>storeFileNames</code></div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) long</code></td> +<td class="colLast"><span class="typeNameLabel">TableQuotaSnapshotStore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/TableQuotaSnapshotStore.html#getSnapshotSizesForTable-org.apache.hadoop.hbase.TableName-">getSnapshotSizesForTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn)</code> +<div class="block">Fetches any serialized snapshot sizes from the quota table for the <code>tn</code> provided.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota</code></td> <td class="colLast"><span class="typeNameLabel">TableQuotaSnapshotStore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/TableQuotaSnapshotStore.html#getSpaceQuota-org.apache.hadoop.hbase.TableName-">getSpaceQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> subject)</code> </td> </tr> <tr class="altColor"> +<td class="colFirst"><code>(package private) org.apache.hadoop.fs.Path</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getTableDir-org.apache.hadoop.hbase.TableName-">getTableDir</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn)</code> +<div class="block">Calculates the directory in HDFS for a table based on the configuration.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaLimiter.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaLimiter</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaCache.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaCache.html#getTableLimiter-org.apache.hadoop.hbase.TableName-">getTableLimiter</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> <div class="block">Returns the limiter associated to the specified table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaLimiter.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaLimiter</a></code></td> <td class="colLast"><span class="typeNameLabel">UserQuotaState.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/UserQuotaState.html#getTableLimiter-org.apache.hadoop.hbase.TableName-">getTableLimiter</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> <div class="block">Return the limiter for the specified table associated with this quota.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getTableQuota-org.apache.hadoop.hbase.client.Connection-org.apache.hadoop.hbase.TableName-">getTableQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>(package private) <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.html#getTableQuotaSnapshot-org.apache.hadoop.hbase.TableName-">getTableQuotaSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> <div class="block">Fetches the <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshot</code></a> for the given table.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>protected static byte[]</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getTableRowKey-org.apache.hadoop.hbase.TableName-">getTableRowKey</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a></code></td> <td class="colLast"><span class="typeNameLabel">TableQuotaSnapshotStore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/TableQuotaSnapshotStore.html#getTargetState-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota-">getTargetState</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaLimiter.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaLimiter</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaCache.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaCache.html#getUserLimiter-org.apache.hadoop.security.UserGroupInformation-org.apache.hadoop.hbase.TableName-">getUserLimiter</a></span>(org.apache.hadoop.security.UserGroupInformation ugi, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> <div class="block">Returns the limiter associated to the specified user/table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#getUserQuota-org.apache.hadoop.hbase.client.Connection-java.lang.String-org.apache.hadoop.hbase.TableName-">getUserQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> connection, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#hasNamespaceQuota-org.apache.hadoop.hbase.TableName-">hasNamespaceQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn)</code> <div class="block">Returns true if the table exists in a namespace with a namespace quota.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#hasTableQuota-org.apache.hadoop.hbase.TableName-">hasTableQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn)</code> <div class="block">Returns true if the given table has a table quota.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">SpaceViolationPolicyEnforcement.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html#initialize-org.apache.hadoop.hbase.regionserver.RegionServerServices-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">initialize</a></span>(<a href="../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> rss, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, @@ -8199,7 +8269,7 @@ service.</div> <div class="block">Initializes this policy instance.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#limitTableSpace-org.apache.hadoop.hbase.TableName-long-org.apache.hadoop.hbase.quotas.SpaceViolationPolicy-">limitTableSpace</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, long sizeLimit, @@ -8208,65 +8278,79 @@ service.</div> to the given size in bytes.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) static <a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a></code></td> +<td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#makeGetForSnapshotSize-org.apache.hadoop.hbase.TableName-java.lang.String-">makeGetForSnapshotSize</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> snapshot)</code> +<div class="block">Creates a <a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client"><code>Get</code></a> for the HBase snapshot's size against the given table.</div> +</td> +</tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#makeGetForTableQuotas-org.apache.hadoop.hbase.TableName-">makeGetForTableQuotas</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table)</code> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a></code></td> +<td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#makeQuotaSnapshotScanForTable-org.apache.hadoop.hbase.TableName-">makeQuotaSnapshotScanForTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tn)</code> +<div class="block">Creates a <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> which returns only <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshot</code></a> from the quota table for a + specific table.</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>protected static void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#parseTableResult-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.client.Result-org.apache.hadoop.hbase.quotas.QuotaTableUtil.TableQuotasVisitor-">parseTableResult</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result, <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.TableQuotasVisitor.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaTableUtil.TableQuotasVisitor</a> visitor)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">MasterSpaceQuotaObserver.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/MasterSpaceQuotaObserver.html#postDeleteTable-org.apache.hadoop.hbase.coprocessor.ObserverContext-org.apache.hadoop.hbase.TableName-">postDeleteTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/coprocessor/ObserverContext.html" title="class in org.apache.hadoop.hbase.coprocessor">ObserverContext</a><<a href="../../../../../org/apache/hadoop/hbase/coprocessor/MasterCoprocessorEnvironment.html" title="interface in org.apache.hadoop.hbase.coprocessor">MasterCoprocessorEnvironment</a>> ctx, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">MasterQuotaManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/MasterQuotaManager.html#removeTableFromNamespaceQuota-org.apache.hadoop.hbase.TableName-">removeTableFromNamespaceQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tName)</code> <div class="block">Remove table from namespace quota.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#removeTableSpaceLimit-org.apache.hadoop.hbase.TableName-">removeTableSpaceLimit</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block">Creates a <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas"><code>QuotaSettings</code></a> object to remove the FileSystem space quota for the given table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">TableQuotaSnapshotStore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/TableQuotaSnapshotStore.html#setCurrentState-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">setCurrentState</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> snapshot)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">UserQuotaState.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/UserQuotaState.html#setQuotas-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas-">setQuotas</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)</code> <div class="block">Add the quota information of the specified table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">MasterQuotaManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/MasterQuotaManager.html#setTableQuota-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest-">setTableQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest req)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>(package private) void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.html#setTableQuotaSnapshot-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">setTableQuotaSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> snapshot)</code> <div class="block">Stores the quota state for the given table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">MasterQuotaManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/MasterQuotaManager.html#setUserQuota-java.lang.String-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest-">setUserQuota</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest req)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>private static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#throttle-java.lang.String-org.apache.hadoop.hbase.TableName-java.lang.String-org.apache.hadoop.hbase.quotas.ThrottleType-long-java.util.concurrent.TimeUnit-">throttle</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, @@ -8275,7 +8359,7 @@ service.</div> long limit, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> timeUnit)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#throttleTable-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.ThrottleType-long-java.util.concurrent.TimeUnit-">throttleTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="../../../../../org/apache/hadoop/hbase/quotas/ThrottleType.html" title="enum in org.apache.hadoop.hbase.quotas">ThrottleType</a> type, @@ -8284,7 +8368,7 @@ service.</div> <div class="block">Throttle the specified table.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#throttleUser-java.lang.String-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.ThrottleType-long-java.util.concurrent.TimeUnit-">throttleUser</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, @@ -8294,32 +8378,32 @@ service.</div> <div class="block">Throttle the specified user on the specified table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">TableSpaceQuotaSnapshotNotifier.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/TableSpaceQuotaSnapshotNotifier.html#transitionTable-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">transitionTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> snapshot)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">SpaceQuotaSnapshotNotifier.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshotNotifier.html#transitionTable-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">transitionTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> snapshot)</code> <div class="block">Informs the cluster of the current state of a space quota for a table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#unthrottleTable-org.apache.hadoop.hbase.TableName-">unthrottleTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block">Remove the throttling for the specified table.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettings</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaSettingsFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#unthrottleUser-java.lang.String-org.apache.hadoop.hbase.TableName-">unthrottleUser</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block">Remove the throttling for the specified user on the specified table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>(package private) void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.html#updateTableQuota-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot-">updateTableQuota</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, <a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a> currentSnapshot, @@ -8328,12 +8412,12 @@ service.</div> if necessary.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.TableQuotasVisitor.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.TableQuotasVisitor.html#visitTableQuotas-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas-">visitTableQuotas</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas quotas)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.UserQuotasVisitor.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.UserQuotasVisitor.html#visitUserQuotas-java.lang.String-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas-">visitUserQuotas</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName, <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, @@ -8349,6 +8433,12 @@ service.</div> </tr> <tbody> <tr class="altColor"> +<td class="colFirst"><code>(package private) com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.SnapshotWithSize</a>></code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#computeSnapshotSizes-com.google.common.collect.Multimap-">computeSnapshotSizes</a></span>(com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> snapshotsToComputeSize)</code> +<div class="block">Computes the size of each snapshot provided given the current files referenced by the table.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#extractQuotaSnapshot-org.apache.hadoop.hbase.client.Result-java.util.Map-">extractQuotaSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>> snapshots)</code> @@ -8356,33 +8446,68 @@ service.</div> <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client"><code>Result</code></a> and adds them to the given <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>(package private) void</code></td> <td class="colLast"><span class="typeNameLabel">SpaceQuotaRefresherChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaRefresherChore.html#extractQuotaSnapshot-org.apache.hadoop.hbase.client.Result-java.util.Map-">extractQuotaSnapshot</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a>> snapshots)</code> <div class="block">Wrapper around <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#extractQuotaSnapshot-org.apache.hadoop.hbase.client.Result-java.util.Map-"><code>QuotaTableUtil.extractQuotaSnapshot(Result, Map)</code></a> for testing.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>></code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#filterInsufficientlyReportedTables-org.apache.hadoop.hbase.quotas.QuotaSnapshotStore-">filterInsufficientlyReportedTables</a></span>(<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSnapshotStore.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaSnapshotStore</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>> tableStore)</code> <div class="block">Filters out all tables for which the Master currently doesn't have enough region space reports received from RegionServers yet.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>(package private) int</code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.TablesWithQuotas.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.TablesWithQuotas.html#getNumReportedRegions-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.quotas.QuotaSnapshotStore-">getNumReportedRegions</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table, <a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaSnapshotStore.html" title="interface in org.apache.hadoop.hbase.quotas">QuotaSnapshotStore</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>> tableStore)</code> <div class="block">Computes the number of regions reported for a table.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#getSnapshotsFromTables-org.apache.hadoop.hbase.client.Admin-java.util.Set-">getSnapshotsFromTables</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client">Admin</a> admin, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>> tablesToFetchSnapshotsFrom)</code> +<div class="block">Computes a mapping of originating <code>TableName</code> to snapshots, when the <code>TableName</code> + exists in the provided <code>Set</code>.</div> +</td> +</tr> <tr class="altColor"> +<td class="colFirst"><code>(package private) <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#groupSnapshotSizesByNamespace-com.google.common.collect.Multimap-">groupSnapshotSizesByNamespace</a></span>(com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.SnapshotWithSize</a>> snapshotsWithSize)</code> +<div class="block">Sums the snapshot sizes for each namespace.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a></code></td> <td class="colLast"><span class="typeNameLabel">QuotaTableUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaTableUtil.html#makeGetForUserQuotas-java.lang.String-java.lang.Iterable-java.lang.Iterable-">makeGetForUserQuotas</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>> tables, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> namespaces)</code> </td> </tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) void</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#persistSnapshotSizes-com.google.common.collect.Multimap-">persistSnapshotSizes</a></span>(com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.SnapshotWithSize</a>> snapshotsWithSize)</code> +<div class="block">Writes the snapshot sizes to the <code>hbase:quota</code> table.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>(package private) void</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#persistSnapshotSizes-org.apache.hadoop.hbase.client.Table-com.google.common.collect.Multimap-">persistSnapshotSizes</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> table, + com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.SnapshotWithSize</a>> snapshotsWithSize)</code> +<div class="block">Writes the snapshot sizes to the provided <code>table</code>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) void</code></td> +<td class="colLast"><span class="typeNameLabel">SnapshotQuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html#persistSnapshotSizesByNS-org.apache.hadoop.hbase.client.Table-com.google.common.collect.Multimap-">persistSnapshotSizesByNS</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a> quotaTable, + com.google.common.collect.Multimap<<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>,<a href="../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore.SnapshotWithSize</a>> snapshotsWithSize)</code> +<div class="block">Rolls up the snapshot sizes by namespace and writes a single record for each namespace + which is the size of all snapshots in that namespace.</div> +</td> +</tr> <tr class="rowColor"> <td class="colFirst"><code>(package private) void</code></td> <td class="colLast"><span class="typeNameLabel">QuotaObserverChore.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaObserverChore.html#processNamespacesWithQuotas-java.util.Set-com.google.common.collect.Multimap-">processNamespacesWithQuotas</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> namespacesWithQuotas,
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/476c54ed/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Private.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Private.html b/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Private.html index 88ee38a..deced7f 100644 --- a/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Private.html +++ b/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Private.html @@ -6526,72 +6526,79 @@ service.</div> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html" title="class in org.apache.hadoop.hbase.quotas">SnapshotQuotaObserverChore</a></span></code> +<div class="block">A Master-invoked <code>Chore</code> that computes the size of each snapshot which was created from + a table which has a space quota.</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>(package private) class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceLimitSettings.html" title="class in org.apache.hadoop.hbase.quotas">SpaceLimitSettings</a></span></code> <div class="block">A <a href="../../../../../../org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas"><code>QuotaSettings</code></a> implementation for configuring filesystem-use quotas.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaRefresherChore.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaRefresherChore</a></span></code> <div class="block">A <a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html" title="class in org.apache.hadoop.hbase"><code>ScheduledChore</code></a> which periodically updates the <a href="../../../../../../org/apache/hadoop/hbase/quotas/RegionServerSpaceQuotaManager.html" title="class in org.apache.hadoop.hbase.quotas"><code>RegionServerSpaceQuotaManager</code></a> with information from the hbase:quota.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot</a></span></code> <div class="block">A point-in-time view of a space quota on a table.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.SpaceQuotaStatus.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshot.SpaceQuotaStatus</a></span></code> <div class="block">Encapsulates the state of a quota on a table.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>interface </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshotNotifier.html" title="interface in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshotNotifier</a></span></code> <div class="block">An interface which abstract away the action taken to enable or disable a space quota violation policy across the HBase cluster.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshotNotifierFactory.html" title="class in org.apache.hadoop.hbase.quotas">SpaceQuotaSnapshotNotifierFactory</a></span></code> <div class="block">Factory for creating <a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshotNotifier.html" title="interface in org.apache.hadoop.hbase.quotas"><code>SpaceQuotaSnapshotNotifier</code></a> implementations.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>interface </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas">SpaceViolationPolicyEnforcement</a></span></code> <div class="block">RegionServer implementation of <a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicy.html" title="enum in org.apache.hadoop.hbase.quotas"><code>SpaceViolationPolicy</code></a>.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcementFactory.html" title="class in org.apache.hadoop.hbase.quotas">SpaceViolationPolicyEnforcementFactory</a></span></code> <div class="block">A factory class for instantiating <a href="../../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicyEnforcement.html" title="interface in org.apache.hadoop.hbase.quotas"><code>SpaceViolationPolicyEnforcement</code></a> instances.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/TableQuotaSnapshotStore.html" title="class in org.apache.hadoop.hbase.quotas">TableQuotaSnapshotStore</a></span></code> <div class="block"><a href="../../../../../../org/apache/hadoop/hbase/quotas/QuotaSnapshotStore.html" title="interface in org.apache.hadoop.hbase.quotas"><code>QuotaSnapshotStore</code></a> for tables.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>(package private) class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/ThrottleSettings.html" title="class in org.apache.hadoop.hbase.quotas">ThrottleSettings</a></span></code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/TimeBasedLimiter.html" title="class in org.apache.hadoop.hbase.quotas">TimeBasedLimiter</a></span></code> <div class="block">Simple time based limiter that checks the quota Throttle</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/quotas/UserQuotaState.html" title="class in org.apache.hadoop.hbase.quotas">UserQuotaState</a></span></code> <div class="block">In-Memory state of the user quotas</div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/476c54ed/devapidocs/org/apache/hadoop/hbase/classification/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/classification/package-tree.html b/devapidocs/org/apache/hadoop/hbase/classification/package-tree.html index aef8196..75c21ea 100644 --- a/devapidocs/org/apache/hadoop/hbase/classification/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/classification/package-tree.html @@ -88,12 +88,12 @@ </ul> <h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2> <ul> +<li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceAudience.Private</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> +<li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Public.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceAudience.Public</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> +<li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Evolving.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceStability.Evolving</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> <li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Stable.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceStability.Stable</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> <li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.LimitedPrivate.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceAudience.LimitedPrivate</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> -<li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceAudience.Private</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> <li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Unstable.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceStability.Unstable</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> -<li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Evolving.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceStability.Evolving</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> -<li type="circle">org.apache.hadoop.hbase.classification.<a href="../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Public.html" title="annotation in org.apache.hadoop.hbase.classification"><span class="typeNameLink">InterfaceAudience.Public</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== -->
