Class DefaultLockIdentityProvider

java.lang.Object
io.micronaut.kubernetes.client.operator.leaderelection.DefaultLockIdentityProvider
All Implemented Interfaces:
LockIdentityProvider

@Singleton public class DefaultLockIdentityProvider extends Object implements LockIdentityProvider
Default implementation of LockIdentityProvider which resolves the unique lock identity from the HOSTNAME environment variable.
Since:
3.3
Author:
Pavol Gressa
  • Constructor Details

    • DefaultLockIdentityProvider

      public DefaultLockIdentityProvider(@NonNull @NonNull PodNameResolver podNameResolver)
  • Method Details