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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes