Skip to content

Commit

Permalink
Merge pull request #1 from D072383/develop
Browse files Browse the repository at this point in the history
update interface.

(there is a failing test,  but it also failed before the PR, and it's not related to this change; the change is simple enough and under control, so merging anyway)
  • Loading branch information
ldellaquila-sap authored and GitHub Enterprise committed May 15, 2020
2 parents b5aa917 + 12ecbb7 commit c296755
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import com.orientechnologies.orient.core.storage.OStorage;
import com.orientechnologies.orient.core.storage.disk.OLocalPaginatedStorage;
import com.orientechnologies.orient.server.OServer;
import com.orientechnologies.orient.server.distributed.ODistributedLifecycleListener;
import com.orientechnologies.orient.server.distributed.listener.ODistributedLifecycleListener;
import com.orientechnologies.orient.server.distributed.ODistributedServerManager;
import com.sun.management.OperatingSystemMXBean;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ public void start() {

server.getServiceByClass(OAgentProfilerService.class).ifPresent((e) -> {
if (this.server.getDistributedManager() != null) {
this.server.getDistributedManager().registerLifecycleListener(e.getProfiler());
this.server.getDistributedManager()
.registerDistributedNodeLifecycleListener(e.getProfiler())
.registerDistributedMessageListener(e.getProfiler())
.registerDistributedDatabaseStatusChangeListener(e.getProfiler());
}
});
}
Expand Down

0 comments on commit c296755

Please sign in to comment.