public interface IRPMService extends Service
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.List<?>> |
getAgentCommands() |
java.lang.String |
getApplicationLink() |
java.lang.String |
getApplicationName() |
long |
getConnectionTimestamp()
The timestamp of when the agent connected to the New Relic service.
|
java.lang.String |
getEntityGuid() |
ErrorService |
getErrorService() |
java.lang.String |
getHostString() |
TransactionNamingScheme |
getTransactionNamingScheme() |
void |
harvest(StatsEngine statsEngine) |
void |
harvestNow() |
boolean |
hasEverConnected() |
boolean |
isConnected() |
boolean |
isMainApp() |
void |
launch() |
void |
reconnect() |
void |
sendAnalyticsEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<TransactionEvent> events) |
void |
sendCommandResults(java.util.Map<java.lang.Long,java.lang.Object> commandResults) |
void |
sendCustomAnalyticsEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<? extends com.newrelic.agent.model.CustomInsightsEvent> events) |
void |
sendErrorData(java.util.List<TracedError> tracedErrors) |
void |
sendErrorEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<com.newrelic.agent.model.ErrorEvent> events) |
void |
sendLogEvents(java.util.Collection<? extends com.newrelic.agent.model.LogEvent> events) |
void |
sendModules(java.util.List<JarData> jarDataList)
Sends the meta information about the jars used by the application to the New Relic service.
|
java.util.List<java.lang.Long> |
sendProfileData(java.util.List<ProfileData> profiles) |
void |
sendSpanEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<com.newrelic.agent.model.SpanEvent> events) |
void |
sendSqlTraceData(java.util.List<SqlTrace> sqlTraces) |
void |
sendTransactionTraceData(java.util.List<TransactionTrace> traces) |
getLogger, getName, isEnabled, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stopjava.util.List<java.lang.Long> sendProfileData(java.util.List<ProfileData> profiles) throws java.lang.Exception
java.lang.Exceptionboolean isConnected()
void launch()
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getHostString()
void harvest(StatsEngine statsEngine) throws java.lang.Exception
java.lang.Exceptionvoid harvestNow()
java.util.List<java.util.List<?>> getAgentCommands()
throws java.lang.Exception
java.lang.Exceptionvoid sendCommandResults(java.util.Map<java.lang.Long,java.lang.Object> commandResults)
throws java.lang.Exception
java.lang.Exceptionvoid sendSqlTraceData(java.util.List<SqlTrace> sqlTraces) throws java.lang.Exception
java.lang.Exceptionvoid sendTransactionTraceData(java.util.List<TransactionTrace> traces) throws java.lang.Exception
java.lang.Exceptionjava.lang.String getEntityGuid()
java.lang.String getApplicationName()
java.lang.String getApplicationLink()
void reconnect()
ErrorService getErrorService()
boolean isMainApp()
boolean hasEverConnected()
TransactionNamingScheme getTransactionNamingScheme()
long getConnectionTimestamp()
void sendModules(java.util.List<JarData> jarDataList) throws java.lang.Exception
jarDataList - The jars which have not yet been sent to the New Relic service.java.lang.Exception - Thrown if a problem sending the jars.void sendAnalyticsEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<TransactionEvent> events)
throws java.lang.Exception
java.lang.Exceptionvoid sendCustomAnalyticsEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<? extends com.newrelic.agent.model.CustomInsightsEvent> events)
throws java.lang.Exception
java.lang.Exceptionvoid sendLogEvents(java.util.Collection<? extends com.newrelic.agent.model.LogEvent> events)
throws java.lang.Exception
java.lang.Exceptionvoid sendErrorEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<com.newrelic.agent.model.ErrorEvent> events)
throws java.lang.Exception
java.lang.Exceptionvoid sendSpanEvents(int reservoirSize,
int eventsSeen,
java.util.Collection<com.newrelic.agent.model.SpanEvent> events)
throws java.lang.Exception
java.lang.Exceptionvoid sendErrorData(java.util.List<TracedError> tracedErrors) throws java.lang.Exception
java.lang.Exception