JavaScript is disabled on your browser.
javax.mail

Class Quota



  • public class Quota
    extends java.lang.Object
    A set of quotas for a given quota root.
    Since:
    JavaMail 1.4
    See Also:
    2087
    • Nested Class Summary

      Nested Classes
      Modifier and Type Class and Description
      static class Quota.Resource
      An individual quota resource.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      java.lang.String quotaRoot
      The quota root.
      Quota.Resource[] resources
      The resources associated with this quota.
    • Constructor Summary

      Constructors
      Constructor and Description
      Quota (java.lang.String quotaRoot)
      Constructor.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void setResourceLimit (java.lang.String name, long limit)
      Sets a resource limit.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • quotaRoot

        public java.lang.String quotaRoot
        The quota root.
      • resources

        public Quota.Resource[] resources
        The resources associated with this quota.
    • Constructor Detail

      • Quota

        public Quota(java.lang.String quotaRoot)
        Constructor.
        Parameters:
        quotaRoot - the quota root
    • Method Detail

      • setResourceLimit

        public void setResourceLimit(java.lang.String name,
         long limit)
        Sets a resource limit.
        Parameters:
        name - the resource name
        limit - the usage limit

AltStyle によって変換されたページ (->オリジナル) /