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 quota resource.

Since:
JavaMail 1.4

Field Summary
 long limit
          The usage limit for the resource.
 String name
          The resource name.
 long usage
          The current resource usage.
 
Constructor Summary
Quota.Resource(String name, long usage, long limit)
          Constructor.
 
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 resource name.


usage

public long usage
The current resource usage.


limit

public long limit
The usage limit for the resource.

Constructor Detail

Quota.Resource

public Quota.Resource(String name,
                      long usage,
                      long limit)
Constructor.

Parameters:
name - the resource name
usage - the current usage
limit - the usage limit


© Copyright 2003, 2004 The Free Software Foundation, All rights reserved