@Singleton public class DefaultLockIdentityProvider extends java.lang.Object implements LockIdentityProvider
LockIdentityProvider
which resolves the unique lock identity from the HOSTNAME
environment variable.Constructor and Description |
---|
DefaultLockIdentityProvider(PodNameResolver podNameResolver) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentity()
Get the lock identity.
|
public DefaultLockIdentityProvider(@NonNull PodNameResolver podNameResolver)
public java.lang.String getIdentity()
LockIdentityProvider
getIdentity
in interface LockIdentityProvider