Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi,
I need to check if my server node is a master or slave in a servlet. Please let me know if anyone has any idea about it using some OOB API.
Solved! Go to Solution.
Use InstanceDescription leader flag. More details at http://sling.apache.org/documentation/bundles/discovery-api-and-impl.html.
If you are writing the service take a look at https://helpx.adobe.com/experience-manager/kb/create-cluster-aware-osgi-service.html
View solution in original post
Views
Likes
Replies