generated from newrelic-experimental/java-instrumentation-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
sap-statistics/src/main/java/com/sap/aii/af/service/statistic/impl/DataAccess.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package com.sap.aii.af.service.statistic.impl; | ||
|
||
import java.sql.Timestamp; | ||
import java.util.ArrayList; | ||
|
||
import com.newrelic.api.agent.Trace; | ||
import com.newrelic.api.agent.weaver.Weave; | ||
import com.newrelic.api.agent.weaver.Weaver; | ||
import com.sap.aii.af.service.statistic.IPerformanceCollectorData; | ||
import com.sap.engine.interfaces.messaging.api.MessageKey; | ||
|
||
@Weave | ||
public abstract class DataAccess { | ||
|
||
@SuppressWarnings("rawtypes") | ||
@Trace(dispatcher = true) | ||
public ArrayList<IPerformanceCollectorData> insertOrUpdateIPerformanceCollectorData(ArrayList performanceCollectorDataArray) { | ||
return Weaver.callOriginal(); | ||
} | ||
|
||
@Trace(dispatcher = true) | ||
public IPerformanceCollectorData[] selectIPerformanceCollectorData(MessageKey messageKey) { | ||
return Weaver.callOriginal(); | ||
} | ||
|
||
@Trace(dispatcher = true) | ||
public IPerformanceCollectorData[] selectIPerformanceCollectorData(Timestamp begin, Timestamp end, boolean processingTimestamp, boolean ascending) { | ||
return Weaver.callOriginal(); | ||
} | ||
|
||
@Trace(dispatcher = true) | ||
public void deleteIPerformanceCollectorData(MessageKey messageKey) { | ||
Weaver.callOriginal(); | ||
} | ||
|
||
@Trace(dispatcher = true) | ||
public long deleteIPerformanceCollectorData(Timestamp olderThan, int chunkSize) { | ||
return Weaver.callOriginal(); | ||
} | ||
} |