Class RunSharedCacheCleanerTaskResponse
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskResponse
The response to admin from the SharedCacheManager when
is asked to run the cleaner service.
Currently, this is empty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanGet whether or not the shared cache manager has accepted the request.abstract voidsetAccepted(boolean b) Set whether or not the shared cache manager has accepted the request Shared cache manager will reject the request if there is an ongoing task
-
Constructor Details
-
RunSharedCacheCleanerTaskResponse
public RunSharedCacheCleanerTaskResponse()
-
-
Method Details
-
getAccepted
@Public @Unstable public abstract boolean getAccepted()Get whether or not the shared cache manager has accepted the request. Shared cache manager will reject the request if there is an ongoing task- Returns:
- boolean True if the request has been accepted, false otherwise.
-
setAccepted
@Public @Unstable public abstract void setAccepted(boolean b) Set whether or not the shared cache manager has accepted the request Shared cache manager will reject the request if there is an ongoing task- Parameters:
b- True if the request has been accepted, false otherwise.
-