Package org.mlflow.tracking.creds
Class HostCredsProviderChain
- java.lang.Object
-
- org.mlflow.tracking.creds.HostCredsProviderChain
-
- All Implemented Interfaces:
MlflowHostCredsProvider
public class HostCredsProviderChain extends java.lang.Object implements MlflowHostCredsProvider
-
-
Constructor Summary
Constructors Constructor Description HostCredsProviderChain(MlflowHostCredsProvider... hostCredsProviders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MlflowHostCreds
getHostCreds()
Returns a valid MlflowHostCreds.void
refresh()
Refreshes the underlying credentials.
-
-
-
Constructor Detail
-
HostCredsProviderChain
public HostCredsProviderChain(MlflowHostCredsProvider... hostCredsProviders)
-
-
Method Detail
-
getHostCreds
public MlflowHostCreds getHostCreds()
Description copied from interface:MlflowHostCredsProvider
Returns a valid MlflowHostCreds. This may be cached.- Specified by:
getHostCreds
in interfaceMlflowHostCredsProvider
-
refresh
public void refresh()
Description copied from interface:MlflowHostCredsProvider
Refreshes the underlying credentials. May be a no-op.- Specified by:
refresh
in interfaceMlflowHostCredsProvider
-
-