public class WorkerIdentityProvider extends Object implements com.google.inject.Provider<WorkerIdentity>
Modifier | Constructor and Description |
---|---|
|
WorkerIdentityProvider(AlluxioConfiguration conf) |
protected |
WorkerIdentityProvider(AlluxioConfiguration conf,
java.util.function.Supplier<UUID> uuidGenerator) |
Modifier and Type | Method and Description |
---|---|
WorkerIdentity |
get()
Resolves a worker's identity from the following sources, in the order of preference:
Alluxio configuration.
|
@Inject public WorkerIdentityProvider(AlluxioConfiguration conf)
conf
- configurationprotected WorkerIdentityProvider(AlluxioConfiguration conf, java.util.function.Supplier<UUID> uuidGenerator)
public WorkerIdentity get()
get
in interface javax.inject.Provider<WorkerIdentity>
Copyright © 2023. All Rights Reserved.