Interface LockIdentityProvider

All Known Implementing Classes:
DefaultLockIdentityProvider

@DefaultImplementation(DefaultLockIdentityProvider.class) public interface LockIdentityProvider
The lock identity provider. The lock identity is used to uniquely identity the application for the leader election process. Every replica of the application needs to have unique identity.
Since:
3.3
Author:
Pavol Gressa
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the lock identity.
  • Method Details

    • getIdentity

      String getIdentity()
      Get the lock identity.
      Returns:
      the lock identity.