Skip to content

Commit

Permalink
Register deprecated CELF procedure counts
Browse files Browse the repository at this point in the history
Co-authored-by: Ioannis Panagiotas <ioannis.panagiotas@neotechnology.com>
  • Loading branch information
vnickolov and IoannisPanagiotas committed Nov 17, 2023
1 parent 34c4e99 commit 274e351
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ public Stream<MutateResult> betaMutate(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.mutate");

executionContext()
.log()
.warn(
Expand All @@ -94,6 +98,10 @@ public Stream<MemoryEstimateResult> betaEstimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.mutate.estimate");

executionContext()
.log()
.warn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public Stream<StatsResult> betaStats(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.stats");

executionContext()
.log()
.warn(
Expand All @@ -93,6 +97,10 @@ public Stream<MemoryEstimateResult> betaEstimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.stats.estimate");

executionContext()
.log()
.warn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ public Stream<StreamResult> betaStream(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.stream");

executionContext()
.log()
.warn(
Expand All @@ -95,6 +99,10 @@ public Stream<MemoryEstimateResult> betaEstimate(
@Name(value = "graphName") Object graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.stream.estimate");

executionContext()
.log()
.warn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ public Stream<WriteResult> betaWrite(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.write");

executionContext()
.log()
.warn(
Expand All @@ -101,6 +105,10 @@ public Stream<MemoryEstimateResult> betaEstimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.influenceMaximization.celf.write.estimate");

executionContext()
.log()
.warn(
Expand Down

0 comments on commit 274e351

Please sign in to comment.