站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

Quota.Resource (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.mail
Class Quota.Resource

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

public static class Quota.Resource
extends Object

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

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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.