Interface LockIdentityProvider
@DefaultImplementation(io.micronaut.kubernetes.client.openapi.operator.leaderelection.DefaultLockIdentityProvider.class)
public interface LockIdentityProvider
Provides the lock identity which is used to uniquely identifies the application for the leader
election process. Every replica of the application needs to have unique identity.
-
Method Summary
-
Method Details
-
getIdentity
Get the lock identity.- Returns:
- the lock identity.
-