javax.mail

Class Quota.Resource

public static class Quota.Resource extends Object

An individual quota resource.

Since: JavaMail 1.4

Field Summary
longlimit
The usage limit for the resource.
Stringname
The resource name.
longusage
The current resource usage.
Constructor Summary
Resource(String name, long usage, long limit)
Constructor.

Field Detail

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 Detail

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