Package org.apache.hadoop.ipc
Interface Schedulable
- All Known Implementing Classes:
ExternalCall,Server.Call
@Private
public interface Schedulable
Interface which allows extracting information necessary to
create schedulable identity strings.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CallerContextThis is overridden only inServer.Call.int
-
Method Details
-
getUserGroupInformation
UserGroupInformation getUserGroupInformation() -
getCallerContext
This is overridden only inServer.Call. The CallerContext field will be used to carry information about the user in cases where UGI proves insufficient. Any other classes that might try to use this method, will get an UnsupportedOperationException.- Returns:
- an instance of CallerContext if method is overridden else get an UnsupportedOperationException
-
getPriorityLevel
int getPriorityLevel()
-