Quota.Resource (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail Class Quota.Resource

java.lang.Object
  extended by javax.mail.Quota.Resource
封闭类:
Quota

public static class Quota.Resource
extends Object

An individual resource in a quota root.

从以下版本开始:
JavaMail 1.4

字段摘要
 long limit
          The usage limit for the resource.
 String name
          The name of the resource.
 long usage
          The current usage of the resource.
 
构造器摘要
Quota.Resource(String name, long usage, long limit)
          Construct a Resource object with the given name, usage, and limit.
 
方法摘要
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

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.

构造器详细信息

Quota.Resource

public Quota.Resource(String name,
                      long usage,
                      long limit)
Construct a Resource object with the given name, usage, and limit.

参数:
name - the resource name
usage - the current usage of the resource
limit - the usage limit for the resource


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.