Package org.apache.hadoop.ipc
Interface IdentityProvider
- All Known Implementing Classes:
UserIdentityProvider
@Private
public interface IdentityProvider
The IdentityProvider creates identities for each schedulable
by extracting fields and returning an identity string.
Implementers will be able to change how schedulers treat
Schedulables.
-
Method Summary
Modifier and TypeMethodDescriptionmakeIdentity(Schedulable obj) Return the string used for scheduling.
-
Method Details
-
makeIdentity
Return the string used for scheduling.- Parameters:
obj- the schedulable to use.- Returns:
- string identity, or null if no identity could be made.
-