javax.mail

Class Quota.Resource

Enclosing Class:
Quota

public static class Quota.Resource
extends java.lang.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

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

Field Details

limit

public long limit
The usage limit for the resource.

name

public String name
The resource name.

usage

public long usage
The current resource usage.

Constructor Details

Resource

public 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