jet.server.api.profiling
Interface ProfilingService

All Superinterfaces:
java.rmi.Remote

public interface ProfilingService
extends java.rmi.Remote

A profiling service provides some methods to retrieve performance object's profile information. A profiling service also is a remote interface. Users can use ProfilingService.UUID as this remote object's name to locate.


Field Summary
static java.lang.String UUID
          Remote Object Unique Universal ID.
 
Method Summary
 java.lang.String[] getProfileNames()
          Retrieves a list of the profile report name.
 java.lang.String runReport(java.lang.String profileName, java.util.Properties prop)
          Run and returns the special profile report.
 

Field Detail

UUID

static final java.lang.String UUID
Remote Object Unique Universal ID. Client application can use this value to locate the remote object.

See Also:
Constant Field Values
Method Detail

getProfileNames

java.lang.String[] getProfileNames()
                                   throws java.rmi.RemoteException
Retrieves a list of the profile report name.

Returns:
profile name list.
Throws:
java.rmi.RemoteException

runReport

java.lang.String runReport(java.lang.String profileName,
                           java.util.Properties prop)
                           throws java.rmi.RemoteException
Run and returns the special profile report.

Parameters:
profileName -
prop -
Returns:
If success return the result file name else return the string with "EEROR:" prefix.
Throws:
java.rmi.RemoteException