Package com.appiancorp.services
Interface KougarServiceContext
- All Superinterfaces:
Principal,com.appiancorp.asl3.servicefw.connect.ServiceContext,ServiceContext
- All Known Implementing Classes:
AbstractServiceContext,EscalatedServiceContext,UserServiceContext,WebServiceContext
For Kougar connections, this should be used instead of ServiceContext.
-
Method Summary
Modifier and TypeMethodDescriptionapplyCaching(com.appiancorp.services.EngineRequestWithCacheToken requestWithCacheToken, Callable<Object> resultProducer) com.appian.komodo.api.EngineCredentialsgetEngineCredentials(com.appiancorp.kougar.services.ServiceConnection svcConn) Returns the credentials to be used for calls with the specifiedKougarConnection.voidupdateMetrics(com.appiancorp.kougar.services.EngineRequestTelemetry telemetry) Methods inherited from interface com.appiancorp.services.ServiceContext
addService, clearCallCache, getAttribute, getCalendarID, getCallCacheEstimatedMicrosSaved, getCallCacheHits, getCallCacheMisses, getCallDurationMicros, getIdentity, getLocale, getName, getReadCallCount, getService, getTimeZone, getTotalCallCount, getWriteCallCount, isCallCachingEnabled, isDesignatedForMigration, isRtl, removeAttribute, removeService, requestCallCaching, setAttribute, setCalendarID, setLocale, setTimeZone
-
Method Details
-
getEngineCredentials
com.appian.komodo.api.EngineCredentials getEngineCredentials(com.appiancorp.kougar.services.ServiceConnection svcConn) throws Exception Returns the credentials to be used for calls with the specifiedKougarConnection.- Parameters:
svcConn- the connection for which we need the credentials- Returns:
- an
EngineCredentialsobject representing the credentials - Throws:
Exception
-
applyCaching
Object applyCaching(com.appiancorp.services.EngineRequestWithCacheToken requestWithCacheToken, Callable<Object> resultProducer) throws Exception - Throws:
Exception
-
updateMetrics
void updateMetrics(com.appiancorp.kougar.services.EngineRequestTelemetry telemetry)
-