Package com.adobe.versioncue.nativecomm
Interface INativeService
public interface INativeService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Dispose the serviceid()
Returns the string id of this NativeService.boolean
isValid()
True if the INativeService instance is validint
Returns the maximum pool size the NativeService.int
poolSize()
Returns the current pool size of the NativeService.void
Prestarts a process connection.Creates an IRequest object to be executed by the NativeService.int
Returns 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
-