com.google.api.adwords.lib
Interface AdWordsService


public interface AdWordsService

Accessors for the time spent on the server and the number of operations used for calls to a service provided by the AdWords API.


Method Summary
 int getLastOperationCount()
          Returns the number of operations executed by the last command issued through this service instance.
 long getLastTime()
          Returns the time it took to execute the last command issued through this service instance.
 long getLastUnitCount()
          Returns the number of quota units executed by the last command issued through this service instance.
 int getTotalOperationCount()
          Returns the number of operations this service instance has executed on the server.
 long getTotalTime()
          Returns the cumulative time to execute all commands issued through this service instance.
 long getTotalUnitCount()
          Returns the number of quota units this service instance has executed on the server.
 void setServiceAccountant(ServiceAccountant s)
           
 

Method Detail

setServiceAccountant

void setServiceAccountant(ServiceAccountant s)

getLastTime

long getLastTime()
Returns the time it took to execute the last command issued through this service instance.

Returns:
the number of miliseconds the last command took on the server.

getTotalTime

long getTotalTime()
Returns the cumulative time to execute all commands issued through this service instance.

Returns:
the number of miliseconds this server instance has utilized the server.

getLastOperationCount

int getLastOperationCount()
Returns the number of operations executed by the last command issued through this service instance.

Returns:
the number of operations the last command utilized on the server.

getTotalOperationCount

int getTotalOperationCount()
Returns the number of operations this service instance has executed on the server.

Returns:
the cumulative number of operations this service has executed on the server.

getLastUnitCount

long getLastUnitCount()
Returns the number of quota units executed by the last command issued through this service instance.

Returns:
the number of quota units the last command utilized on the server.

getTotalUnitCount

long getTotalUnitCount()
Returns the number of quota units this service instance has executed on the server.

Returns:
the cumulative number of quota units this service has executed on the server.


Copyright © 2005 Google Corp. All Rights Reserved.