javax.mail
Class Quota.Resource

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

public static class Quota.Resource
extends Object

A representation of a given resource definition.


Field Summary
 long limit
          The limit value for this resource.
 String name
          The resource name.
 long usage
          The current resource usage.
 
Constructor Summary
Quota.Resource(String name, long usage, long limit)
          Construct a Resource object from the given name and usage/limit information.
 
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 limit value for this resource.

Constructor Detail

Quota.Resource

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

Parameters:
name - The Resource name.
usage - The current resource usage.
limit - The Resource limit value.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.