com.metamatrix.server.connector.service
Interface ConnectorServiceInterface
- All Superinterfaces:
- ServiceInterface
- All Known Implementing Classes:
- ConnectorService
public interface ConnectorServiceInterface
- extends ServiceInterface
Interface ConnectorServiceInterface.
Methods inherited from interface com.metamatrix.platform.service.api.ServiceInterface |
checkState, die, dieNow, getCurrentState, getHostname, getID, getInitException, getProcessName, getProperties, getQueueStatistics, getQueueStatistics, getServiceData, getServiceType, getStartTime, getStateChangeTime, init, isAlive, setInitException, updateState |
SERVICE_NAME
static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
getConnectorID
com.metamatrix.dqp.internal.datamgr.ConnectorID getConnectorID()
- Get the
ConnectorID
of the connector we're servicing.
- Returns:
- The
ConnectorID
.
getCapabilities
SourceCapabilities getCapabilities(RequestID requestId,
java.io.Serializable executionPayload,
org.teiid.dqp.internal.process.DQPWorkContext message)
throws ConnectorException
- Throws:
ConnectorException
executeRequest
void executeRequest(AtomicRequestMessage request,
ResultsReceiver<AtomicResultsMessage> resultListener)
throws MetaMatrixComponentException
- Execute the given request on a
Connector
.
- Parameters:
request
-
- Throws:
MetaMatrixComponentException
cancelRequest
void cancelRequest(AtomicRequestID request)
throws MetaMatrixComponentException
- Throws:
MetaMatrixComponentException
closeRequest
void closeRequest(AtomicRequestID request)
throws MetaMatrixComponentException
- Throws:
MetaMatrixComponentException
requestBatch
void requestBatch(AtomicRequestID request)
throws MetaMatrixComponentException
- Throws:
MetaMatrixComponentException
getConnectionPoolStats
java.util.Collection<MMConnectionPool> getConnectionPoolStats()
Copyright © 2009. All Rights Reserved.