com.esri.arcgis.geodatabase
Interface ITinClock

All Superinterfaces:
Serializable
All Known Implementing Classes:
Tin

public interface ITinClock
extends Serializable

Provides timing utilities.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 double getElapsedTime()
          Return elapsed (since last Reset call) time in seconds.
 void reset()
          Reset clock.
 void sleep(double seconds)
          Suspends the execution of the current thread for the specified interval (in seconds).
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Reset clock.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sleep

void sleep(double seconds)
           throws IOException,
                  AutomationException
Suspends the execution of the current thread for the specified interval (in seconds).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
seconds - The seconds (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElapsedTime

double getElapsedTime()
                      throws IOException,
                             AutomationException
Return elapsed (since last Reset call) time in seconds.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pElapsedTime
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.