Quota.Resource (Java EE 5)

Java EE API


javax.mail Class Quota.Resource

java.lang.Object
  extended by javax.mail.Quota.Resource
Enclosing class:
Quota

public static class Quota.Resource
extends Object

Contained within: Quota

配额根中的单独资源。
英文文档:

An individual resource in a quota root.

Since:
JavaMail 1.4

Field Summary
 long
 String
 long
 
Constructor Summary
 
Method Summary
 
Methods inherited from class java.lang.Object
 

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 name
usage - the current usage of the resource
limit - the usage limit for the resource



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!