com.groupdocs.search.legacy

Interfaces

Classes

Exceptions

com.groupdocs.search.legacy

Class Metered


  • Deprecated. 
    This class is deprecated and will be available until January 2020 (version 20.1).

    @Deprecated
    public class Metered
    extends Object
    Provides methods to set metered key.
    • Constructor Detail

      • Metered

        public Metered()
        Deprecated. 
        Initializes a new instance of this class.
    • Method Detail

      • setMeteredKey

        public void setMeteredKey(String publicKey,
                         String privateKey)
                           throws Exception
        Deprecated. 
        Sets metered public and private key
        Parameters:
        publicKey - public key
        privateKey - private key
        Throws:
        Exception
      • getConsumptionQuantity

        public static double getConsumptionQuantity()
                                             throws Exception
        Deprecated. 
        Gets consumption file size
        Returns:
        consumption quantity
        Throws:
        Exception
      • getConsumptionCredit

        public static double getConsumptionCredit()
                                           throws Exception
        Deprecated. 
        Gets consumption credit
        Returns:
        consumption quantity
        Throws:
        Exception