|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail Class Quota.Resource
java.lang.Object javax.mail.Quota.Resource
- Enclosing class:
- Quota
public static class Quota.Resource
- extends Object
Contained within:
Quota
配额根中的单独资源。
since |
|
An individual resource in a quota root.
- Since:
- JavaMail 1.4
Field Summary | |
---|---|
long |
limit
The usage limit for the resource. |
String |
name
The name of the resource. |
long |
usage
The current usage of the resource. |
Constructor Summary | |
---|---|
Quota.Resource(String name,
long usage,
long limit)
Construct a Resource object with the given name, usage, and limit. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
英文文档:
name
public String name
- The name of the resource.
英文文档:
usage
public long usage
- The current usage of the resource.
英文文档:
limit
public long limit
- The usage limit for the resource.
Constructor Detail |
---|
public
Quota.Resource(String name, long usage, long limit)
使用给定名称、使用量和限制构造 Resource 对象。
name | 资源的名称 |
usage | 资源的当前使用量 |
limit | 资源的使用限制 |
Quota.Resource
public Quota.Resource(String name, long usage, long limit)
- Construct a Resource object with the given name,
usage, and limit.
- Parameters:
name
- the resource nameusage
- the current usage of the resourcelimit
- the usage limit for the resource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!