Package com.adobe.versioncue.nativecomm
Interface INativeService
public interface INativeService
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the serviceid()Returns the string id of this NativeService.booleanisValid()True if the INativeService instance is validintReturns the maximum pool size the NativeService.intpoolSize()Returns the current pool size of the NativeService.voidPrestarts a process connection.Creates an IRequest object to be executed by the NativeService.intReturns the total number of requests handled by this pool.
-
Method Details
-
request
Creates an IRequest object to be executed by the NativeService.- Parameters:
call- NativeService call name- Returns:
- IRequest object
-
dispose
void dispose()Dispose the service -
isValid
boolean isValid()True if the INativeService instance is valid- Returns:
- true if the INativeService instance is valid
-
poolSize
int poolSize()Returns the current pool size of the NativeService.- Returns:
- the current pool size of the NativeService.
-
maxConnections
int maxConnections()Returns the maximum pool size the NativeService.- Returns:
- the maximum pool size the NativeService.
-
totalRequests
int totalRequests()Returns the total number of requests handled by this pool.- Returns:
- the total number of requests handled by this pool
-
id
String id()Returns the string id of this NativeService.- Returns:
- string id of this NativeService
-
prestartConnection
Prestarts a process connection. Connections are usually initiated lazily on first request. This method forces a connection to be established without sending a request.- Throws:
NativeCommException- on failure
-