public class Quota extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Quota.Resource
A representation of a given resource definition.
|
Modifier and Type | Field and Description |
---|---|
String |
quotaRoot
The name of the quota root.
|
Quota.Resource[] |
resources
The resources associated with this quota root.
|
public String quotaRoot
public Quota.Resource[] resources
public Quota(String quotaRoot)
quotaRoot
- The quota root name.public void setResourceLimit(String name, long limit)
name
- The target resource name.limit
- The new limit value for the resource.Copyright © 2013. All rights reserved.